Fixing assert4j assertions

This commit is contained in:
Ryan Baxter
2025-04-13 15:23:02 -04:00
parent e1a96eede8
commit b349f072bb
2 changed files with 3 additions and 3 deletions

View File

@@ -688,7 +688,7 @@ public class BeanFactoryAwareFunctionRegistryTests {
FunctionRegistration registration = new FunctionRegistration(new MyFunction(), "a") FunctionRegistration registration = new FunctionRegistration(new MyFunction(), "a")
.type(FunctionTypeUtils.functionType(Integer.class, String.class)); .type(FunctionTypeUtils.functionType(Integer.class, String.class));
registry.register(registration); registry.register(registration);
fail(); fail("");
} }
catch (IllegalArgumentException e) { catch (IllegalArgumentException e) {
// good as we expect it to fail // good as we expect it to fail
@@ -698,7 +698,7 @@ public class BeanFactoryAwareFunctionRegistryTests {
FunctionRegistration registration = new FunctionRegistration(new MyFunction(), "b") FunctionRegistration registration = new FunctionRegistration(new MyFunction(), "b")
.type(FunctionTypeUtils.functionType(String.class, Integer.class)); .type(FunctionTypeUtils.functionType(String.class, Integer.class));
registry.register(registration); registry.register(registration);
fail(); fail("");
} }
catch (IllegalArgumentException e) { catch (IllegalArgumentException e) {
// good as we expect it to fail // good as we expect it to fail