Skip to content

Commit

Permalink
Fix interrupted tests run detection
Browse files Browse the repository at this point in the history
  • Loading branch information
e1himself committed Feb 24, 2021
1 parent e6ee826 commit bc783fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

register_shutdown_function(function () use (&$finished) {
if (! $finished) {
echo 'Not all tests were executed.', PHP_EOL;
return 1;
echo PHP_EOL, 'Not all tests were executed.', PHP_EOL;
exit(1);
}
return 0;
});
Expand Down

0 comments on commit bc783fc

Please sign in to comment.