Skip to content

armgit / mocha

Public Imported from GitHub
0

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

no indentation for TAP reporter

Tj Holowaychuk5d36d46a68f0
diff --git a/lib/reporters/tap.js b/lib/reporters/tap.js
index ef584972..d0cdc420 100644
--- a/lib/reporters/tap.js
+++ b/lib/reporters/tap.js
@@ -29,7 +29,7 @@ function TAP(runner) {
, n = 1;
runner.on('start', function(){
- console.log(' %d..%d', 1, total);
+ console.log('%d..%d', 1, total);
});
runner.on('test end', function(){
@@ -37,11 +37,11 @@ function TAP(runner) {
});
runner.on('pass', function(test){
- console.log(' ok %d %s', n, test.fullTitle());
+ console.log('ok %d %s', n, test.fullTitle());
});
runner.on('fail', function(test){
- console.log(' not ok %d %s', n, test.fullTitle());
+ console.log('not ok %d %s', n, test.fullTitle());
});
runner.on('end', function(){