Skip to content

Commit

Permalink
Emphasize expected to fail is temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
beatngu13 committed Mar 26, 2024
1 parent 1a8eb5a commit a43b3ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ private static void invokeAndInvertResult(Invocation<Void> invocation, Extension
}

if (Stream.of(expectedToFail.withExceptions()).noneMatch(clazz -> clazz.isInstance(t))) {
fail("Test marked as 'expected to fail' failed with an unexpected exception", t);
fail("Test marked as temporarily 'expected to fail' failed with an unexpected exception", t);
}

String message = expectedToFail.value();
Expand Down

0 comments on commit a43b3ce

Please sign in to comment.