diff --git a/src/Syroot.Worms.Mgame.Test/PacketCompressionTests.cs b/src/Syroot.Worms.Mgame.Test/PacketCompressionTests.cs index 8ed0035..700261a 100644 --- a/src/Syroot.Worms.Mgame.Test/PacketCompressionTests.cs +++ b/src/Syroot.Worms.Mgame.Test/PacketCompressionTests.cs @@ -29,8 +29,7 @@ namespace Syroot.Worms.Mgame.Test [TestMethod] public void TestBadIndex() { - var recompressed = Recompress(_origBadIndex); - Assert.IsTrue(recompressed.SequenceEqual(_rcmpBadIndex)); + Assert.IsTrue(Recompress(_origBadIndex).SequenceEqual(_rcmpBadIndex)); } [TestMethod]