Skip to content

Commit a041a41

Browse files
committed
VertxTestBase report mode FORBIDDEN should throw an assertion error instead of UnsupportedOperationException
1 parent 0c04ec6 commit a041a41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vertx-core/src/test/java/io/vertx/test/core/VertxTestBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ protected void checkThread() {
208208
}
209209
break;
210210
case FORBIDDEN:
211-
throw new UnsupportedOperationException("Strictly forbidden to call an assertion on AsyncTestBase");
211+
throw new AssertionError("Strictly forbidden to call an assertion on AsyncTestBase");
212212
}
213213
}
214214

0 commit comments

Comments
 (0)