Skip to content

Commit

Permalink
returning non-zero if tests fail
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydiablo authored and Cerdic committed Apr 10, 2018
1 parent 44b11fe commit 99e09a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/unit-tests.php
Expand Up @@ -33,4 +33,4 @@
if (SimpleReporter::inCli()) $reporter = new TextReporter();
else $reporter = new csstidy_reporter('UTF-8');

$test->run($reporter);
exit ($test->run($reporter) ? 0 : 1);

0 comments on commit 99e09a5

Please sign in to comment.