Skip to content

Commit 38bd906

Browse files
committed
[minor] Everybody loves Unicode
Tick and X marks in test runner output.
1 parent b76680b commit 38bd906

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/core/run

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ function runTest(test, callback) {
4545
child.on('exit', function (exitCode) {
4646
clearTimeout(killTimeout);
4747

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

0 commit comments

Comments
 (0)