From: Forest Date: Mon, 22 Mar 2021 23:48:35 +0000 (-0700) Subject: Fix a test that broke based on the incorrect assumption that a first message id could... X-Git-Tag: 1.0.0~14 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=30b7313fc0b4f2c6fd85bca3bfe73aac1b66bf7e;p=rhonda%2Fimpostor.hazel.git Fix a test that broke based on the incorrect assumption that a first message id could be 1 instead of 0 --- diff --git a/Hazel.UnitTests/UdpReliabilityTests.cs b/Hazel.UnitTests/UdpReliabilityTests.cs index 38ddc9e..ede7698 100644 --- a/Hazel.UnitTests/UdpReliabilityTests.cs +++ b/Hazel.UnitTests/UdpReliabilityTests.cs @@ -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);