Skip to content

Commit

Permalink
Issue #494: Report System.exit stacktrace when it gets called
Browse files Browse the repository at this point in the history
  • Loading branch information
jiridanek committed Apr 17, 2023
1 parent f8e28ae commit d013066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/test/kotlin/testing.kt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ fun assertNoSystemExit(executable: () -> Unit) {
executable()

} catch (e: SystemExitingWithStatus) {
fail("System.exit has been called")
fail("System.exit has been called", e)
} finally {
System.setSecurityManager(previousManager)
}
Expand Down

0 comments on commit d013066

Please sign in to comment.