Skip to content

Commit bc783fc

Browse files
committed
Fix interrupted tests run detection
1 parent e6ee826 commit bc783fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
register_shutdown_function(function () use (&$finished) {
2020
if (! $finished) {
21-
echo 'Not all tests were executed.', PHP_EOL;
22-
return 1;
21+
echo PHP_EOL, 'Not all tests were executed.', PHP_EOL;
22+
exit(1);
2323
}
2424
return 0;
2525
});

0 commit comments

Comments
 (0)