]> git.deb.at Git - rhonda/impostor.hazel.git/commitdiff
Fix a test that broke based on the incorrect assumption that a first message id could...
authorForest <forest@innersloth.com>
Mon, 22 Mar 2021 23:48:35 +0000 (16:48 -0700)
committerForest <forest@innersloth.com>
Mon, 22 Mar 2021 23:49:08 +0000 (16:49 -0700)
Hazel.UnitTests/UdpReliabilityTests.cs

index 38ddc9ef8a4b73dee32c0eaa2ac4d1a84162c693..ede7698991894c87a83f5cc996e59317e653cf78 100644 (file)
@@ -51,7 +51,7 @@ namespace Hazel.UnitTests
 
             MessageWriter data = MessageWriter.Get(SendOption.Reliable);
 
-            for (int i = 1; i < ushort.MaxValue * 2; ++i)
+            for (int i = 0; i < ushort.MaxValue * 2; ++i)
             {
                 // Send a new message, it should be received and ack'd
                 SetReliableId(data, i);