mirror of
https://github.com/go-i2p/gojava.git
synced 2025-07-03 17:59:42 -04:00
all tests pass + System.exit to force exit from tests
This commit is contained in:
@ -83,9 +83,8 @@ public class MoreAsserts {
|
|||||||
failed = true;
|
failed = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (failed) {
|
// NOTE: We need to call System.exit to force all go threads to exit.
|
||||||
System.exit(1);
|
System.exit(failed ? 1 : 0);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user