Skip to content

Commit

Permalink
exit test completely passes
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed May 4, 2013
1 parent ce0d62c commit f37d431
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ exports = module.exports = (function () {
t._exit();
}
}
process.exit(harness._exitCode);
}, 100);

setTimeout(function () {
process.exit(harness._exitCode);
}, 110);
});
}
}
Expand Down
2 changes: 0 additions & 2 deletions test/exit.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ tap.test('too few exit', function (t) {
});
});

/*
tap.test('more planned in a second test', function (t) {
t.plan(2);

Expand Down Expand Up @@ -141,4 +140,3 @@ tap.test('more planned in a second test', function (t) {
t.notEqual(code, 0);
});
});
*/

0 comments on commit f37d431

Please sign in to comment.