We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 544fcd2 commit d132af3Copy full SHA for d132af3
test/UnitTest/Utils/UtilityTest.cs
@@ -758,6 +758,10 @@ public void ConvertToIpEndPoint_Ok()
758
{
759
var ex = Assert.Throws<ArgumentOutOfRangeException>(() => Utility.ConvertToIpEndPoint("localhost", 88990));
760
Assert.NotNull(ex);
761
+
762
+ ex = null;
763
+ ex = Assert.Throws<ArgumentOutOfRangeException>(() => Utility.ConvertToIpEndPoint("localhost", -1000));
764
+ Assert.NotNull(ex);
765
}
766
767
[AutoGenerateClass(Align = Alignment.Center)]
0 commit comments