mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Fix test runner behaviour when test fails
This commit is contained in:
parent
730d3f3070
commit
ec3b88f77a
|
@ -127,13 +127,11 @@ class TestRunner {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
run.getCallback().error(new AssertionError(exception + "\n" + stack));
|
run.getCallback().error(new AssertionError(exception + "\n" + stack));
|
||||||
run.getCallback().complete();
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
run.getCallback().error(e);
|
run.getCallback().error(e);
|
||||||
run.getCallback().complete();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user