diff options
Diffstat (limited to 'IrcStates/Tests/Mode.cs')
-rw-r--r-- | IrcStates/Tests/Mode.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/IrcStates/Tests/Mode.cs b/IrcStates/Tests/Mode.cs index ba05976..799afd6 100644 --- a/IrcStates/Tests/Mode.cs +++ b/IrcStates/Tests/Mode.cs @@ -63,8 +63,7 @@ namespace IrcStates.Tests _server.Parse(new Line("MODE #chan +b asd!*@*")); var channel = _server.Channels["#chan"]; - CollectionAssert.AreEqual(new Dictionary<string, List<string>> {{"b", new List<string> {"asd!*@*"}}}, - channel.ListModes); + CollectionAssert.AreEqual(new List<string> {"asd!*@*"}, channel.ListModes["b"]); } [TestMethod] @@ -150,8 +149,7 @@ namespace IrcStates.Tests var channel = _server.Channels["#chan"]; CollectionAssert.AreEqual(new Dictionary<string, string> {{"k", "pass"}, {"l", "10"}, {"i", null}}, channel.Modes); - CollectionAssert.AreEqual(new Dictionary<string, List<string>> {{"b", new List<string> {"*!*@*"}}}, - channel.ListModes); + CollectionAssert.AreEqual(new List<string> {"*!*@*"}, channel.ListModes["b"]); } [TestMethod] |