diff options
Diffstat (limited to 'IrcTokens/Tests/Tokenization.cs')
-rw-r--r-- | IrcTokens/Tests/Tokenization.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/IrcTokens/Tests/Tokenization.cs b/IrcTokens/Tests/Tokenization.cs index c4970ed..7e2139d 100644 --- a/IrcTokens/Tests/Tokenization.cs +++ b/IrcTokens/Tests/Tokenization.cs @@ -1,5 +1,5 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; -using System.Collections.Generic; +using System.Collections.Generic; +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace IrcTokens.Tests { @@ -87,14 +87,14 @@ namespace IrcTokens.Tests public void TestParamsTrailing() { var line = new Line("PRIVMSG #channel :hello world"); - CollectionAssert.AreEqual(new List<string> { "#channel", "hello world" }, line.Params); + CollectionAssert.AreEqual(new List<string> {"#channel", "hello world"}, line.Params); } [TestMethod] public void TestParamsOnlyTrailing() { var line = new Line("PRIVMSG :hello world"); - CollectionAssert.AreEqual(new List<string> { "hello world" }, line.Params); + CollectionAssert.AreEqual(new List<string> {"hello world"}, line.Params); } [TestMethod] @@ -109,10 +109,10 @@ namespace IrcTokens.Tests public void TestAllTokens() { var line = new Line("@id=123 :nick!user@host PRIVMSG #channel :hello world"); - CollectionAssert.AreEqual(new Dictionary<string, string> { { "id", "123" } }, line.Tags); + CollectionAssert.AreEqual(new Dictionary<string, string> {{"id", "123"}}, line.Tags); Assert.AreEqual("nick!user@host", line.Source); Assert.AreEqual("PRIVMSG", line.Command); - CollectionAssert.AreEqual(new List<string> { "#channel", "hello world" }, line.Params); + CollectionAssert.AreEqual(new List<string> {"#channel", "hello world"}, line.Params); } } } |