mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-02-16 10:30:42 +00:00
fix RegistryTest
This commit is contained in:
@@ -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