[minor] Everybody loves Unicode

Tick and X marks in test runner output.
This commit is contained in:
Maciej Małecki 2011-11-01 01:56:42 +01:00
parent b76680b045
commit 38bd906f2b

View File

@ -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();
//