Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Fixed chars in nyan when his head moves back

TJ Holowaychuk81ee25291f60
diff --git a/lib/reporters/nyan.js b/lib/reporters/nyan.js
index 1a59d0ab..f1732f86 100644
--- a/lib/reporters/nyan.js
+++ b/lib/reporters/nyan.js
@@ -155,7 +155,7 @@ NyanCat.prototype.drawNyanCat = function(status) {
break;
case 1:
var padding = self.tick ? ' ' : ' ';
- write('_|' + padding + '/\\_/\\');
+ write('_|' + padding + '/\\_/\\ ');
write('\n');
break;
case 2:
@@ -172,12 +172,12 @@ NyanCat.prototype.drawNyanCat = function(status) {
default:
face = '( - .-)';
}
- write(tail + '|' + padding + face);
+ write(tail + '|' + padding + face + ' ');
write('\n');
break;
case 3:
var padding = self.tick ? ' ' : ' ';
- write(padding + '"" ""');
+ write(padding + '"" "" ');
write('\n');
break;
}