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 d608f51 commit 528f1f4Copy full SHA for 528f1f4
tests/Smdn.Net.MuninNode/Smdn.Net.MuninNode/MuninNodeOptions.cs
@@ -240,13 +240,13 @@ public void AllowFrom()
240
foreach (var address in addresses) {
241
var endPoint = new IPEndPoint(address, port);
242
243
- Assert.That(options.AccessRule.IsAcceptable(endPoint), Is.True);
+ Assert.That(options.AccessRule!.IsAcceptable(endPoint), Is.True);
244
}
245
246
foreach (var address in new[] { IPAddress.Loopback, IPAddress.IPv6Loopback }) {
247
248
249
- Assert.That(options.AccessRule.IsAcceptable(endPoint), Is.False);
+ Assert.That(options.AccessRule!.IsAcceptable(endPoint), Is.False);
250
251
252
0 commit comments