We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c414ab commit 8986c94Copy full SHA for 8986c94
IPTables.Net.Tests/IpTableSystemTests.cs
@@ -1,4 +1,5 @@
1
-using IPTables.Net.Iptables;
+using IPTables.Net.Exceptions;
2
+using IPTables.Net.Iptables;
3
using IPTables.Net.Iptables.Adapter;
4
using NUnit.Framework;
5
using System;
@@ -36,7 +37,7 @@ public void TestGetRules()
36
37
}
38
39
// Invalid table cause exception
- Assert.Throws<ArgumentException>(() => _system.GetRules("_invalidTableName", IP_VERSION));
40
+ Assert.Throws<IpTablesNetException>(() => _system.GetRules("_invalidTableName", IP_VERSION));
41
42
43
0 commit comments