mirror of
https://github.com/go-i2p/gojava.git
synced 2025-06-17 06:35:31 -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;
|
||||
}
|
||||
}
|
||||
if (failed) {
|
||||
System.exit(1);
|
||||
}
|
||||
// NOTE: We need to call System.exit to force all go threads to exit.
|
||||
System.exit(failed ? 1 : 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user