Skip to content

Commit

Permalink
[test] return proper exit code on tests passing.
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed May 1, 2014
1 parent be31445 commit 1c188eb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,8 @@ main:
if (failed) console.log('%d/%d tests failed.', failed, len);

// Tests currently failing.
if (~failures.indexOf('def_blocks.text')
&& ~failures.indexOf('double_link.text')
&& ~failures.indexOf('gfm_code_hr_list.text')) {
failed -= 3;
if (~failures.indexOf('def_blocks.text')) {
failed -= 1;
}

return !failed;
Expand Down

0 comments on commit 1c188eb

Please sign in to comment.