Tweak whitespace in README.md and update QUnit-CLIB.

Former-commit-id: b8fed819580bf7db926b8a4cfb794aa7666c5f58
This commit is contained in:
John-David Dalton
2012-09-30 23:06:40 -07:00
parent d6d065cd61
commit 662be14535
2 changed files with 13 additions and 8 deletions

View File

@@ -171,7 +171,12 @@
// exit out of Node.js
try {
process.exit(details.failed);
if (details.failed) {
console.error('Error: ' + details.failed + ' of ' + details.total + ' tests failed.');
process.exit(1);
} else {
process.exit(0);
}
} catch(e) { }
}