Skip to content
Snippets Groups Projects
Commit ecefcdef authored by jez04's avatar jez04
Browse files

feat: upgrade test

parent 24679ddc
No related merge requests found
......@@ -95,7 +95,7 @@ class ClassStructureTest {
void worldMethodAddTest() {
helper.classExist("World");
Class<?> c = helper.getClass("World");
helper.hasMethod(c, "add", void.class, helper.getClass("DrawableSimulable"));
helper.hasMethodRegexp(c, "add.*", void.class, helper.getClass("DrawableSimulable"));
;
}
......@@ -103,7 +103,7 @@ class ClassStructureTest {
void worldMethodRemoveTest() {
helper.classExist("World");
Class<?> c = helper.getClass("World");
helper.hasMethod(c, "remove", void.class, helper.getClass("DrawableSimulable"));
helper.hasMethodRegexp(c, "remove.*", void.class, helper.getClass("DrawableSimulable"));
;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment