Commit b053198c authored by Maciej Małecki's avatar Maciej Małecki Committed by Cédric de Saint Martin

[minor] Everybody loves Unicode

Tick and X marks in test runner output.
parent 08789179
...@@ -45,8 +45,8 @@ function runTest(test, callback) { ...@@ -45,8 +45,8 @@ function runTest(test, callback) {
child.on('exit', function (exitCode) { child.on('exit', function (exitCode) {
clearTimeout(killTimeout); clearTimeout(killTimeout);
console.log(path.basename(test).yellow + ' exited with ' + console.log(' ' + ((exitCode) ? ''.red : ''.green) + ' ' +
((exitCode) ? exitCode.toString().red : exitCode.toString().green)); path.basename(test) + (exitCode && ' (exit code: ' + exitCode + ')'));
results[test] = { exitCode: exitCode }; results[test] = { exitCode: exitCode };
callback(); callback();
// //
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment