diff options
Diffstat (limited to 'IrcTokens/Tests')
-rw-r--r-- | IrcTokens/Tests/StatefulDecoder.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IrcTokens/Tests/StatefulDecoder.cs b/IrcTokens/Tests/StatefulDecoder.cs index c5728a5..9d2b8b7 100644 --- a/IrcTokens/Tests/StatefulDecoder.cs +++ b/IrcTokens/Tests/StatefulDecoder.cs @@ -66,7 +66,7 @@ namespace IrcTokens.Tests public void TestEmpty() { var lines = _decoder.Push(string.Empty); - Assert.IsNull(lines); + Assert.AreEqual(0, lines.Count); } [TestMethod] @@ -74,7 +74,7 @@ namespace IrcTokens.Tests { _decoder.Push("PRIVMSG #channel hello"); var lines = _decoder.Push(string.Empty); - Assert.IsNull(lines); + Assert.AreEqual(0, lines.Count); } [TestMethod] |