Fixing assert4j assertions
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user