Use a constructor that Animal Sniffer knows about.

This commit is contained in:
akwizgran
2022-03-28 15:09:26 +01:00
parent 3d6972fd73
commit 3e597ceff8

View File

@@ -36,10 +36,6 @@ public abstract class BrambleTestCase {
@After
public void afterBrambleTestCase() {
Throwable thrown = exceptionInBackgroundThread;
if (thrown != null) {
throw new AssertionError(
"background thread has thrown an exception unexpectedly",
thrown);
}
if (thrown != null) throw new AssertionError(thrown);
}
}