Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
BaronGreenback
2020-11-21 20:05:31 +00:00
committed by GitHub
parent 3f2c331755
commit 1e13627a94

View File

@@ -179,7 +179,7 @@ namespace Jellyfin.Networking.Tests
// Test included, non IP6.
nc = nm.CreateIPCollection(settings.Split(","), false);
Assert.True(string.Equals(nc?.AsString(), result2, System.StringComparison.OrdinalIgnoreCase));
Assert.Equal(nc.AsString(), result2);
// Test excluded, including IPv6.
nc = nm.CreateIPCollection(settings.Split(","), true);