Commit 9b1ceb38 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

don't print stacktrace when assert fails

parent 113bb63e
......@@ -6,6 +6,8 @@ import org.junit.runner.Description;
public class UnitTestFailedWatcher extends TestWatcher {
protected void failed(Throwable e, Description description) {
if (!(e instanceof AssertionError)) {
Markdown is supported
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