Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public void testStatelessFromNode() {
public void testForbidden() {
Result result = runTest(Forbidden.class);
assertEquals(1, result.getFailureCount());
assertThat(result.getFailures().get(0).getException()).isInstanceOf(UnsupportedOperationException.class);
assertThat(result.getFailures().get(0).getException()).isInstanceOf(AssertionError.class);
}

public static class Forbidden extends VertxTestBase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ protected void checkThread() {
}
break;
case FORBIDDEN:
throw new UnsupportedOperationException("Strictly forbidden to call an assertion on AsyncTestBase");
throw new AssertionError("Strictly forbidden to call an assertion on AsyncTestBase");
}
}

Expand Down
Loading