Skip to content

Commit 3439b50

Browse files
authored
Update test_runner.ri
1 parent ed38439 commit 3439b50

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/core/src/test_runner.ri

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ public struct TestRunner {
9393
}
9494
}
9595
self.print_summary_tests();
96-
process_exit(@as(int32, self.fail_tests));
96+
if self.fail_tests > 0 {
97+
process_exit(1);
98+
}
9799
}
98100

99101
func print_summary_tests(&self) {

0 commit comments

Comments
 (0)