Skip to content

Commit

Permalink
[minor] Everybody loves Unicode
Browse files Browse the repository at this point in the history
Tick and X marks in test runner output.
  • Loading branch information
mmalecki committed Dec 18, 2011
1 parent b76680b commit 38bd906
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/core/run
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ function runTest(test, callback) {
child.on('exit', function (exitCode) {
clearTimeout(killTimeout);

console.log(path.basename(test).yellow + ' exited with ' +
((exitCode) ? exitCode.toString().red : exitCode.toString().green));
console.log(' ' + ((exitCode) ? '✘'.red : '✔'.green) + ' ' +
path.basename(test) + (exitCode && ' (exit code: ' + exitCode + ')'));
results[test] = { exitCode: exitCode };
callback();
//
Expand Down

0 comments on commit 38bd906

Please sign in to comment.