mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-20 15:27:24 +00:00
fix RegistryTest
This commit is contained in:
1 parent
ed2e56c776
commit
e10948a7cf
1 file changed
+2
-2
@@ -35,7 +35,7 @@ public class RegistryTest {
|
||||
|
||||
test.register("test", "bazinga");
|
||||
|
||||
assertEquals(test.get("test"), "bazinga");
|
||||
assertEquals(test.get("test").orElseThrow(), "bazinga");
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -58,7 +58,7 @@ public class RegistryTest {
|
||||
|
||||
test.register("test", "bazinga");
|
||||
|
||||
assertEquals(test.get("test"), "bazinga");
|
||||
assertEquals(test.get("test").orElseThrow(), "bazinga");
|
||||
|
||||
try {
|
||||
test.register("test", "bazinga2");
|
||||
|
||||
Reference in new issue
Block a user