Skip to content

Commit 528f1f4

Browse files
committed
suppress warning CS8602
1 parent d608f51 commit 528f1f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Smdn.Net.MuninNode/Smdn.Net.MuninNode/MuninNodeOptions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,13 +240,13 @@ public void AllowFrom()
240240
foreach (var address in addresses) {
241241
var endPoint = new IPEndPoint(address, port);
242242

243-
Assert.That(options.AccessRule.IsAcceptable(endPoint), Is.True);
243+
Assert.That(options.AccessRule!.IsAcceptable(endPoint), Is.True);
244244
}
245245

246246
foreach (var address in new[] { IPAddress.Loopback, IPAddress.IPv6Loopback }) {
247247
var endPoint = new IPEndPoint(address, port);
248248

249-
Assert.That(options.AccessRule.IsAcceptable(endPoint), Is.False);
249+
Assert.That(options.AccessRule!.IsAcceptable(endPoint), Is.False);
250250
}
251251
}
252252
}

0 commit comments

Comments
 (0)