diff --git a/Examples/States/Client.cs b/Examples/States/Client.cs index 55d4651..3dc6034 100644 --- a/Examples/States/Client.cs +++ b/Examples/States/Client.cs @@ -1,5 +1,4 @@ using System; -using System.Linq; using System.Net.Sockets; using System.Threading; using IRCStates; diff --git a/IRCSharp.Tests/State/Channel.cs b/IRCSharp.Tests/State/Channel.cs index bec455c..5a29e0b 100644 --- a/IRCSharp.Tests/State/Channel.cs +++ b/IRCSharp.Tests/State/Channel.cs @@ -97,16 +97,16 @@ public class Channel public void QuitSelf() { _server.Parse(new("QUIT :i'm outta here")); - Assert.IsFalse(_server.Users.Count != 0); - Assert.IsFalse(_server.Channels.Count != 0); + Assert.AreEqual(0, _server.Users.Count); + Assert.AreEqual(0, _server.Channels.Count); } [TestMethod] public void QuitSelfWithSource() { _server.Parse(new(":nickname QUIT :i'm outta here")); - Assert.IsFalse(_server.Users.Count != 0); - Assert.IsFalse(_server.Channels.Count != 0); + Assert.AreEqual(0, _server.Users.Count); + Assert.AreEqual(0, _server.Channels.Count); } [TestMethod]