From e2d93c593c7dfc76fa468e1e3a1724d311b5bbd3 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Tue, 28 Apr 2020 21:16:38 -0400 Subject: Fix decoder tests --- IrcTokens/Tests/StatefulDecoder.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'IrcTokens/Tests/StatefulDecoder.cs') 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] -- cgit 1.4.1