Skip to content

armgit / mocha

Public Imported from GitHub
0

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

indent dt / dd within the dl

TJ Holowaychuke1159a20cede
diff --git a/lib/reporters/doc.js b/lib/reporters/doc.js
index a65c5b2e..7e83e984 100644
--- a/lib/reporters/doc.js
+++ b/lib/reporters/doc.js
@@ -48,9 +48,9 @@ function Doc(runner) {
});
runner.on('pass', function(test){
- console.log('%s<dt>%s</dt>', indent(), test.title);
+ console.log('%s <dt>%s</dt>', indent(), test.title);
var code = clean(test.fn.toString());
- console.log('%s<dd><pre><code>%s</code></pre></dd>', indent(), code);
+ console.log('%s <dd><pre><code>%s</code></pre></dd>', indent(), code);
});
runner.on('end', function(){