diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2021-01-06 12:12:39 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2021-01-06 12:12:39 +0100 |
commit | b40cab15f4d01a4e8455e5808ca82e40ff291a92 (patch) | |
tree | 91ca5f2c2cd812776662d58de12a094b8278093b /module/ri-engine/src/test/java/io | |
parent | b8699860653e593271e50c8ba1b73f66fcb6287c (diff) | |
download | rules-sandbox-b40cab15f4d01a4e8455e5808ca82e40ff291a92.tar.gz rules-sandbox-b40cab15f4d01a4e8455e5808ca82e40ff291a92.tar.bz2 rules-sandbox-b40cab15f4d01a4e8455e5808ca82e40ff291a92.tar.xz rules-sandbox-b40cab15f4d01a4e8455e5808ca82e40ff291a92.zip |
Renaming VPN stuff to wireguard.
Diffstat (limited to 'module/ri-engine/src/test/java/io')
-rw-r--r-- | module/ri-engine/src/test/java/io/trygvis/rules/network/IpCalcTest.java (renamed from module/ri-engine/src/test/java/io/trygvis/rules/acme/IpCalcTest.java) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/ri-engine/src/test/java/io/trygvis/rules/acme/IpCalcTest.java b/module/ri-engine/src/test/java/io/trygvis/rules/network/IpCalcTest.java index 8b1e2c6..e0642d6 100644 --- a/module/ri-engine/src/test/java/io/trygvis/rules/acme/IpCalcTest.java +++ b/module/ri-engine/src/test/java/io/trygvis/rules/network/IpCalcTest.java @@ -1,17 +1,17 @@ -package io.trygvis.rules.acme; +package io.trygvis.rules.network; -import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; -import static org.junit.jupiter.api.Assertions.*; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; class IpCalcTest { @Test public void basic() { - Assertions.assertThrows(IllegalArgumentException.class, () -> IpCalc.cidr("192.168.1.1/24").addresses()); + assertThrows(IllegalArgumentException.class, () -> IpCalc.cidr("192.168.1.1/24").addresses()); assertEquals(256, IpCalc.cidr("192.168.1.0/24").addresses().size()); assertEquals(128, IpCalc.cidr("192.168.1.128/25").addresses().size()); } |