Skip to content

Commit

Permalink
UITestCase.fail(String, Throwable): append the throwable as cause
Browse files Browse the repository at this point in the history
  • Loading branch information
EcljpseB0T authored and jukzi committed Oct 9, 2024
1 parent 1e895cc commit 1163104
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public static void fail(String message, Throwable e) {
write(status, 0);
} else
e.printStackTrace();
fail(message + ": " + e);
throw new AssertionError(message, e);
}

private static void indent(OutputStream output, int indent) {
Expand Down

0 comments on commit 1163104

Please sign in to comment.