Commit e7589d1d authored by isaacs's avatar isaacs

cmd tap output, don't indent Subtest comment

parent 9311dfe4
...@@ -83,7 +83,9 @@ function tapFormat (msg, indent) { ...@@ -83,7 +83,9 @@ function tapFormat (msg, indent) {
return indent + msg.map(function (item) { return indent + msg.map(function (item) {
switch (item[0]) { switch (item[0]) {
case 'child': case 'child':
return tapFormat(item[1], ' ') var comment = item[1][0]
var child = item[1].slice(1)
return tapFormat([comment], '') + tapFormat(child, ' ')
case 'version': case 'version':
return 'TAP version ' + item[1] + '\n' return 'TAP version ' + item[1] + '\n'
......
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