diff options
Diffstat (limited to 'IrcTokens/Tests/ParserTests.cs')
-rw-r--r-- | IrcTokens/Tests/ParserTests.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/IrcTokens/Tests/ParserTests.cs b/IrcTokens/Tests/ParserTests.cs index 502b6d6..ad734cf 100644 --- a/IrcTokens/Tests/ParserTests.cs +++ b/IrcTokens/Tests/ParserTests.cs @@ -1,4 +1,5 @@ using System.Collections.Generic; +using System.Globalization; using System.IO; using IrcTokens.Tests.Data; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -27,7 +28,8 @@ namespace IrcTokens.Tests var tokens = new Line(test.Input); var atoms = test.Atoms; - Assert.AreEqual(atoms.Verb.ToUpper(), tokens.Command, $"command failed on: '{test.Input}'"); + Assert.AreEqual(atoms.Verb.ToUpper(CultureInfo.InvariantCulture), tokens.Command, + $"command failed on: '{test.Input}'"); Assert.AreEqual(atoms.Source, tokens.Source, $"source failed on: '{test.Input}'"); CollectionAssert.AreEqual(atoms.Tags, tokens.Tags, $"tags failed on: '{test.Input}'"); CollectionAssert.AreEqual(atoms.Params ?? new List<string>(), tokens.Params, $"params failed on: '{test.Input}'"); |