[Pkg-javascript-commits] [node-tap] 01/02: Revert "Move Subtest: comments to parent level"
Bastien Roucariès
rouca at moszumanska.debian.org
Thu Sep 14 12:41:56 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to annotated tag v6.3.2
in repository node-tap.
commit d8e5d4083e5507594b0385d26a59e261c53e43c1
Author: isaacs <i at izs.me>
Date: Thu Aug 11 11:00:39 2016 -0700
Revert "Move Subtest: comments to parent level"
This reverts commit 1d3f65560e717043fa36587a13eb808cdd993b01.
---
lib/test.js | 7 +++--
test/test/assert-at-bail.tap | 2 +-
test/test/assert-at.tap | 2 +-
test/test/assert-todo-skip-bail.tap | 2 +-
test/test/assert-todo-skip.tap | 2 +-
test/test/async-bail.tap | 4 +--
test/test/async.tap | 4 +--
test/test/bail-child-bail.tap | 4 +--
test/test/bail-child.tap | 4 +--
test/test/bail-fail-spawn-bail.tap | 10 +++----
test/test/bail-fail-spawn.tap | 10 +++----
test/test/bailout-bail.tap | 6 ++--
test/test/bailout.tap | 8 +++---
test/test/before-after-each-async-bail.tap | 6 ++--
test/test/before-after-each-async.tap | 6 ++--
test/test/before-after-each-bail.tap | 6 ++--
test/test/before-after-each-plan-bail.tap | 6 ++--
test/test/before-after-each-plan.tap | 6 ++--
test/test/before-after-each-promise-bail.tap | 6 ++--
test/test/before-after-each-promise.tap | 6 ++--
test/test/before-after-each-raise-bail.tap | 6 ++--
test/test/before-after-each-raise.tap | 6 ++--
test/test/before-after-each-throw-bail.tap | 6 ++--
test/test/before-after-each-throw.tap | 6 ++--
test/test/before-after-each.tap | 6 ++--
test/test/catch-tap-throws-bail.tap | 2 +-
test/test/catch-tap-throws.tap | 6 ++--
test/test/console-log-bail.tap | 8 +++---
test/test/console-log.tap | 8 +++---
test/test/deferred-comment-bail.tap | 2 +-
test/test/deferred-comment.tap | 2 +-
test/test/end-end-bail.tap | 2 +-
test/test/end-end.tap | 12 ++++----
test/test/end-event-timing-bail.tap | 4 +--
test/test/end-event-timing.tap | 4 +--
test/test/end-exception-bail.tap | 2 +-
test/test/end-exception.tap | 2 +-
test/test/equivalent-bail.tap | 2 +-
test/test/equivalent.tap | 2 +-
test/test/exit-on-bailout-bail.tap | 4 +--
test/test/exit-on-bailout.tap | 4 +--
test/test/mochalike-bail.tap | 20 +++++++-------
test/test/mochalike-ok-bail.tap | 16 +++++------
test/test/mochalike-ok.tap | 16 +++++------
test/test/mochalike.tap | 26 +++++++++---------
test/test/nesting-bail.tap | 6 ++--
test/test/nesting.tap | 8 +++---
test/test/not-ok-nested-bail.tap | 4 +--
test/test/not-ok-nested.tap | 4 +--
test/test/ok-bail.tap | 8 +++---
test/test/ok-diags-bail.tap | 2 +-
test/test/ok-diags.tap | 2 +-
test/test/ok.tap | 8 +++---
test/test/pending-handles-bail.tap | 2 +-
test/test/pending-handles.tap | 2 +-
test/test/plan-async-bail.tap | 4 +--
test/test/plan-async.tap | 4 +--
test/test/plan-failures-bail.tap | 2 +-
test/test/plan-failures.tap | 16 +++++------
test/test/plan-too-many-bail.tap | 4 +--
test/test/plan-too-many.tap | 4 +--
test/test/pragma-bail.tap | 2 +-
test/test/pragma.tap | 4 +--
test/test/promise-bail.tap | 32 +++++++++++-----------
test/test/promise-fails-bail.tap | 8 +++---
test/test/promise-fails.tap | 14 +++++-----
test/test/promise-plan-bail.tap | 10 +++----
test/test/promise-plan.tap | 18 ++++++------
test/test/promise-return-bail.tap | 4 +--
test/test/promise-return-mocha-bail.tap | 6 ++--
test/test/promise-return-mocha.tap | 8 +++---
test/test/promise-return.tap | 4 +--
test/test/promise.tap | 32 +++++++++++-----------
test/test/root-teardown-bail.tap | 2 +-
test/test/root-teardown.tap | 2 +-
test/test/spawn-bail.tap | 8 +++---
test/test/spawn-empty-bail.tap | 2 +-
test/test/spawn-empty.tap | 2 +-
test/test/spawn-failures-bail.tap | 2 +-
test/test/spawn-failures.tap | 6 ++--
test/test/spawn-stderr-bail.tap | 2 +-
test/test/spawn-stderr.tap | 2 +-
test/test/spawn.tap | 18 ++++++------
test/test/sync-timeout-bail.tap | 2 +-
test/test/sync-timeout.tap | 4 +--
test/test/throw-bail.tap | 6 ++--
test/test/throw-twice-bail.tap | 2 +-
test/test/throw-twice.tap | 2 +-
test/test/throw.tap | 10 +++----
test/test/throws-and-plans-bail.tap | 4 +--
test/test/throws-and-plans.tap | 14 +++++-----
test/test/throws-bail.tap | 2 +-
test/test/throws.tap | 2 +-
test/test/timeout-bail.tap | 8 +++---
test/test/timeout-via-runner-bail.tap | 4 +--
.../timeout-via-runner-ignore-sigterm-bail.tap | 4 +--
test/test/timeout-via-runner-ignore-sigterm.tap | 4 +--
test/test/timeout-via-runner-no-plan-bail.tap | 4 +--
test/test/timeout-via-runner-no-plan.tap | 4 +--
test/test/timeout-via-runner.tap | 4 +--
test/test/timeout.tap | 8 +++---
test/test/todo-bail.tap | 8 +++---
test/test/todo.tap | 8 +++---
test/test/unfinished-bail.tap | 4 +--
test/test/unfinished.tap | 4 +--
105 files changed, 331 insertions(+), 330 deletions(-)
diff --git a/lib/test.js b/lib/test.js
index 24c1a30..a7d7382 100644
--- a/lib/test.js
+++ b/lib/test.js
@@ -453,7 +453,6 @@ Test.prototype.test = function test (name, extra, cb, deferred) {
}
var child = new Test(extra)
- this.comment('Subtest: ' + name)
child._name = name
child._parent = this
@@ -466,6 +465,7 @@ Test.prototype.test = function test (name, extra, cb, deferred) {
var self = this
childStream(self, child)
self._level = child
+ child.comment('Subtest: ' + name)
child._deferred = deferred
this._runBeforeEach(child, function () {
self._runChild(child, name, extra, cb)
@@ -627,7 +627,6 @@ Test.prototype.stdin = function (name, extra, deferred) {
}
var stdin = process.stdin
- this.comment('Subtest: ' + name)
this._currentChild = stdin
var start = process.hrtime()
var parser = new Parser()
@@ -639,6 +638,8 @@ Test.prototype.stdin = function (name, extra, deferred) {
parser.write(c)
})
+ stdin.emit('data', '# Subtest: ' + name + '\n')
+
stdin.on('end', function () {
parser.end()
})
@@ -826,7 +827,6 @@ Test.prototype.spawn = function spawnTest (cmd, args, options, name, extra, defe
var parser = new Parser()
var self = this
- this.comment('Subtest: ' + name)
this._currentChild = child
childStream(self, child.stdout)
@@ -839,6 +839,7 @@ Test.prototype.spawn = function spawnTest (cmd, args, options, name, extra, defe
bailOnFail(this, child.stdout, parser)
}
+ child.stdout.emit('data', '# Subtest: ' + name + '\n')
// The only thing that's actually *required* to be a valid TAP output
// is a plan and/or at least one ok/not-ok line. If we don't get any
// of those, then emit a bogus 1..0 so we read it as a skip.
diff --git a/test/test/assert-at-bail.tap b/test/test/assert-at-bail.tap
index 45bfdda..27669fd 100644
--- a/test/test/assert-at-bail.tap
+++ b/test/test/assert-at-bail.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: foo
+ # Subtest: foo
not ok 1 - baz
---
{"at":{"column":3,"file":"test/test/assert-at.js","function":"baz","line":14},"source":"blo(t)\n"}
diff --git a/test/test/assert-at.tap b/test/test/assert-at.tap
index cb41561..5e7c69a 100644
--- a/test/test/assert-at.tap
+++ b/test/test/assert-at.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: foo
+ # Subtest: foo
not ok 1 - baz
---
{"at":{"column":3,"file":"test/test/assert-at.js","function":"baz","line":14},"source":"blo(t)\n"}
diff --git a/test/test/assert-todo-skip-bail.tap b/test/test/assert-todo-skip-bail.tap
index 0e8eb00..2f2ecce 100644
--- a/test/test/assert-todo-skip-bail.tap
+++ b/test/test/assert-todo-skip-bail.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: not much
+ # Subtest: not much
ok 1 - always passes # SKIP skip it good
not ok 2 - false # SKIP always fails
ok 3 - bonus # TODO remove todo directive
diff --git a/test/test/assert-todo-skip.tap b/test/test/assert-todo-skip.tap
index 0e8eb00..2f2ecce 100644
--- a/test/test/assert-todo-skip.tap
+++ b/test/test/assert-todo-skip.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: not much
+ # Subtest: not much
ok 1 - always passes # SKIP skip it good
not ok 2 - false # SKIP always fails
ok 3 - bonus # TODO remove todo directive
diff --git a/test/test/async-bail.tap b/test/test/async-bail.tap
index d3a0d35..075711f 100644
--- a/test/test/async-bail.tap
+++ b/test/test/async-bail.tap
@@ -1,10 +1,10 @@
TAP version 13
-# Subtest: first test
+ # Subtest: first test
ok 1 - this is ok
1..1
ok 1 - first test ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: second test (async)
+ # Subtest: second test (async)
ok 1 - this is ok
1..1
ok 2 - second test (async) ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/async.tap b/test/test/async.tap
index d3a0d35..075711f 100644
--- a/test/test/async.tap
+++ b/test/test/async.tap
@@ -1,10 +1,10 @@
TAP version 13
-# Subtest: first test
+ # Subtest: first test
ok 1 - this is ok
1..1
ok 1 - first test ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: second test (async)
+ # Subtest: second test (async)
ok 1 - this is ok
1..1
ok 2 - second test (async) ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/bail-child-bail.tap b/test/test/bail-child-bail.tap
index c711084..06b4b0a 100644
--- a/test/test/bail-child-bail.tap
+++ b/test/test/bail-child-bail.tap
@@ -1,6 +1,6 @@
TAP version 13
-# Subtest: bail fail
- # Subtest: failer
+ # Subtest: bail fail
+ # Subtest: failer
not ok 1 - this fails
---
{"at":{"column":7,"file":"test/test/bail-child.js","line":7},"source":"t.fail('this fails')\n"}
diff --git a/test/test/bail-child.tap b/test/test/bail-child.tap
index c711084..06b4b0a 100644
--- a/test/test/bail-child.tap
+++ b/test/test/bail-child.tap
@@ -1,6 +1,6 @@
TAP version 13
-# Subtest: bail fail
- # Subtest: failer
+ # Subtest: bail fail
+ # Subtest: failer
not ok 1 - this fails
---
{"at":{"column":7,"file":"test/test/bail-child.js","line":7},"source":"t.fail('this fails')\n"}
diff --git a/test/test/bail-fail-spawn-bail.tap b/test/test/bail-fail-spawn-bail.tap
index 1286ed3..d382356 100644
--- a/test/test/bail-fail-spawn-bail.tap
+++ b/test/test/bail-fail-spawn-bail.tap
@@ -1,15 +1,15 @@
TAP version 13
-# Subtest: bail fail
- # Subtest: ./test/test/nesting.js
- # Subtest: nesting
+ # Subtest: bail fail
+ # Subtest: ./test/test/nesting.js
+ # Subtest: nesting
1..2
- # Subtest: first
+ # Subtest: first
1..2
ok 1 - true is ok
ok 2 - doag is also okay
ok 1 - first ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: second
+ # Subtest: second
ok 1 - but that is ok
ok 2 - this passes
not ok 3 - nested failure
diff --git a/test/test/bail-fail-spawn.tap b/test/test/bail-fail-spawn.tap
index 1286ed3..d382356 100644
--- a/test/test/bail-fail-spawn.tap
+++ b/test/test/bail-fail-spawn.tap
@@ -1,15 +1,15 @@
TAP version 13
-# Subtest: bail fail
- # Subtest: ./test/test/nesting.js
- # Subtest: nesting
+ # Subtest: bail fail
+ # Subtest: ./test/test/nesting.js
+ # Subtest: nesting
1..2
- # Subtest: first
+ # Subtest: first
1..2
ok 1 - true is ok
ok 2 - doag is also okay
ok 1 - first ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: second
+ # Subtest: second
ok 1 - but that is ok
ok 2 - this passes
not ok 3 - nested failure
diff --git a/test/test/bailout-bail.tap b/test/test/bailout-bail.tap
index 32ee91b..8db789b 100644
--- a/test/test/bailout-bail.tap
+++ b/test/test/bailout-bail.tap
@@ -1,13 +1,13 @@
TAP version 13
-# Subtest: nesting
+ # Subtest: nesting
1..2
- # Subtest: first
+ # Subtest: first
1..2
ok 1 - true is ok
ok 2 - doag is also okay
ok 1 - first ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: second
+ # Subtest: second
ok 1 - but that is ok
ok 2 - this passes
1..2
diff --git a/test/test/bailout.tap b/test/test/bailout.tap
index a20e97c..10bbc96 100644
--- a/test/test/bailout.tap
+++ b/test/test/bailout.tap
@@ -1,13 +1,13 @@
TAP version 13
-# Subtest: nesting
+ # Subtest: nesting
1..2
- # Subtest: first
+ # Subtest: first
1..2
ok 1 - true is ok
ok 2 - doag is also okay
ok 1 - first ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: second
+ # Subtest: second
ok 1 - but that is ok
ok 2 - this passes
1..2
@@ -20,7 +20,7 @@ not ok 3 - this fails
---
{"at":{"column":3,"file":"test/test/bailout.js","line":18},"source":"t.fail('this fails')\n"}
...
-# Subtest: async kid
+ # Subtest: async kid
1..2
Bail out! # cannot continue
Bail out! # cannot continue
diff --git a/test/test/before-after-each-async-bail.tap b/test/test/before-after-each-async-bail.tap
index 9b81ad9..6e184c0 100644
--- a/test/test/before-after-each-async-bail.tap
+++ b/test/test/before-after-each-async-bail.tap
@@ -1,11 +1,11 @@
TAP version 13
-# Subtest: parent
+ # Subtest: parent
before 1 parent
done
- # Subtest: child
+ # Subtest: child
before 1 child
before 2 child
- # Subtest: grandchild
+ # Subtest: grandchild
before 1 grandchild
before 2 grandchild
ok 1 - the only actual assertion
diff --git a/test/test/before-after-each-async.tap b/test/test/before-after-each-async.tap
index 9b81ad9..6e184c0 100644
--- a/test/test/before-after-each-async.tap
+++ b/test/test/before-after-each-async.tap
@@ -1,11 +1,11 @@
TAP version 13
-# Subtest: parent
+ # Subtest: parent
before 1 parent
done
- # Subtest: child
+ # Subtest: child
before 1 child
before 2 child
- # Subtest: grandchild
+ # Subtest: grandchild
before 1 grandchild
before 2 grandchild
ok 1 - the only actual assertion
diff --git a/test/test/before-after-each-bail.tap b/test/test/before-after-each-bail.tap
index bcc91ea..3b60749 100644
--- a/test/test/before-after-each-bail.tap
+++ b/test/test/before-after-each-bail.tap
@@ -1,10 +1,10 @@
TAP version 13
-# Subtest: parent
+ # Subtest: parent
before 1 parent
- # Subtest: child
+ # Subtest: child
before 1 child
before 2 child
- # Subtest: grandchild
+ # Subtest: grandchild
before 1 grandchild
before 2 grandchild
ok 1 - the only actual assertion
diff --git a/test/test/before-after-each-plan-bail.tap b/test/test/before-after-each-plan-bail.tap
index e3315d6..9de9d59 100644
--- a/test/test/before-after-each-plan-bail.tap
+++ b/test/test/before-after-each-plan-bail.tap
@@ -1,13 +1,13 @@
TAP version 13
1..1
-# Subtest: parent
+ # Subtest: parent
before 1 parent
1..1
- # Subtest: child
+ # Subtest: child
before 1 child
before 2 child
1..1
- # Subtest: grandchild
+ # Subtest: grandchild
before 1 grandchild
before 2 grandchild
1..1
diff --git a/test/test/before-after-each-plan.tap b/test/test/before-after-each-plan.tap
index e3315d6..9de9d59 100644
--- a/test/test/before-after-each-plan.tap
+++ b/test/test/before-after-each-plan.tap
@@ -1,13 +1,13 @@
TAP version 13
1..1
-# Subtest: parent
+ # Subtest: parent
before 1 parent
1..1
- # Subtest: child
+ # Subtest: child
before 1 child
before 2 child
1..1
- # Subtest: grandchild
+ # Subtest: grandchild
before 1 grandchild
before 2 grandchild
1..1
diff --git a/test/test/before-after-each-promise-bail.tap b/test/test/before-after-each-promise-bail.tap
index 91ad9d1..a59e0fe 100644
--- a/test/test/before-after-each-promise-bail.tap
+++ b/test/test/before-after-each-promise-bail.tap
@@ -1,11 +1,11 @@
TAP version 13
-# Subtest: parent
+ # Subtest: parent
before 1 parent
done
- # Subtest: child
+ # Subtest: child
before 1 child
before 2 child
- # Subtest: grandchild
+ # Subtest: grandchild
before 1 grandchild
before 2 grandchild
ok 1 - the only actual assertion
diff --git a/test/test/before-after-each-promise.tap b/test/test/before-after-each-promise.tap
index 460ce76..fe247a0 100644
--- a/test/test/before-after-each-promise.tap
+++ b/test/test/before-after-each-promise.tap
@@ -1,11 +1,11 @@
TAP version 13
-# Subtest: parent
+ # Subtest: parent
before 1 parent
done
- # Subtest: child
+ # Subtest: child
before 1 child
before 2 child
- # Subtest: grandchild
+ # Subtest: grandchild
before 1 grandchild
before 2 grandchild
ok 1 - the only actual assertion
diff --git a/test/test/before-after-each-raise-bail.tap b/test/test/before-after-each-raise-bail.tap
index 9f1fc64..4e3c401 100644
--- a/test/test/before-after-each-raise-bail.tap
+++ b/test/test/before-after-each-raise-bail.tap
@@ -1,10 +1,10 @@
TAP version 13
-# Subtest: parent
+ # Subtest: parent
before 1 parent
- # Subtest: child
+ # Subtest: child
before 1 child
before 2 child
- # Subtest: grandchild
+ # Subtest: grandchild
before 1 grandchild
before 2 grandchild
ok 1 - the only actual assertion
diff --git a/test/test/before-after-each-raise.tap b/test/test/before-after-each-raise.tap
index 17e5d22..84de154 100644
--- a/test/test/before-after-each-raise.tap
+++ b/test/test/before-after-each-raise.tap
@@ -1,10 +1,10 @@
TAP version 13
-# Subtest: parent
+ # Subtest: parent
before 1 parent
- # Subtest: child
+ # Subtest: child
before 1 child
before 2 child
- # Subtest: grandchild
+ # Subtest: grandchild
before 1 grandchild
before 2 grandchild
ok 1 - the only actual assertion
diff --git a/test/test/before-after-each-throw-bail.tap b/test/test/before-after-each-throw-bail.tap
index 647e621..7d4ea35 100644
--- a/test/test/before-after-each-throw-bail.tap
+++ b/test/test/before-after-each-throw-bail.tap
@@ -1,10 +1,10 @@
TAP version 13
-# Subtest: parent
+ # Subtest: parent
before 1 parent
- # Subtest: child
+ # Subtest: child
before 1 child
before 2 child
- # Subtest: grandchild
+ # Subtest: grandchild
before 1 grandchild
before 2 grandchild
ok 1 - the only actual assertion
diff --git a/test/test/before-after-each-throw.tap b/test/test/before-after-each-throw.tap
index cddb3c8..bbaed2e 100644
--- a/test/test/before-after-each-throw.tap
+++ b/test/test/before-after-each-throw.tap
@@ -1,10 +1,10 @@
TAP version 13
-# Subtest: parent
+ # Subtest: parent
before 1 parent
- # Subtest: child
+ # Subtest: child
before 1 child
before 2 child
- # Subtest: grandchild
+ # Subtest: grandchild
before 1 grandchild
before 2 grandchild
ok 1 - the only actual assertion
diff --git a/test/test/before-after-each.tap b/test/test/before-after-each.tap
index bcc91ea..3b60749 100644
--- a/test/test/before-after-each.tap
+++ b/test/test/before-after-each.tap
@@ -1,10 +1,10 @@
TAP version 13
-# Subtest: parent
+ # Subtest: parent
before 1 parent
- # Subtest: child
+ # Subtest: child
before 1 child
before 2 child
- # Subtest: grandchild
+ # Subtest: grandchild
before 1 grandchild
before 2 grandchild
ok 1 - the only actual assertion
diff --git a/test/test/catch-tap-throws-bail.tap b/test/test/catch-tap-throws-bail.tap
index b15eb43..9b597a0 100644
--- a/test/test/catch-tap-throws-bail.tap
+++ b/test/test/catch-tap-throws-bail.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: exceed_plan
+ # Subtest: exceed_plan
1..1
ok 1 - (unnamed test)
ok 1 - exceed_plan ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/catch-tap-throws.tap b/test/test/catch-tap-throws.tap
index 3a1de38..10a7624 100644
--- a/test/test/catch-tap-throws.tap
+++ b/test/test/catch-tap-throws.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: exceed_plan
+ # Subtest: exceed_plan
1..1
ok 1 - (unnamed test)
ok 1 - exceed_plan ___/# time=[0-9.]+(ms)?/~~~
@@ -8,7 +8,7 @@ not ok 2 - Error: test count exceeds plan
---
{"at":{"column":7,"file":"test/test/catch-tap-throws.js","function":"exceed_plan","line":9},"count":2,"message":"Error: test count exceeds plan","plan":1,"source":"t.pass()\n","test":"exceed_plan"}
...
-# Subtest: multiple_end
+ # Subtest: multiple_end
ok 1 - (unnamed test)
1..1
ok 3 - multiple_end ___/# time=[0-9.]+(ms)?/~~~
@@ -17,7 +17,7 @@ not ok 4 - Error: test end() method called more than once
---
{"message":"Error: test end() method called more than once","test":"multiple_end"}
...
-# Subtest: assert_after_end
+ # Subtest: assert_after_end
ok 1 - (unnamed test)
1..1
ok 5 - assert_after_end ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/console-log-bail.tap b/test/test/console-log-bail.tap
index a529f24..1a3a77a 100644
--- a/test/test/console-log-bail.tap
+++ b/test/test/console-log-bail.tap
@@ -1,8 +1,8 @@
>>>> before any tests
TAP version 13
-# Subtest: nesting
+ # Subtest: nesting
1..2
- # Subtest: first
+ # Subtest: first
1..3
ok 1 - true is ok
>>>> an object is { a: 'thing', to: [ 'inspect' ] }
@@ -11,7 +11,7 @@ TAP version 13
ok 1 - first ___/# time=[0-9.]+(ms)?/~~~
>>>> after first child
- # Subtest: second
+ # Subtest: second
ok 1 - but that is ok
ok 2 - this passes
ok 3 - nested ok
@@ -26,7 +26,7 @@ ok 1 - nesting ___/# time=[0-9.]+(ms)?/~~~
ok 2 - this passes
ok 3 - this passes too
>>>> after pass() calls
-# Subtest: async kid
+ # Subtest: async kid
>>>> in async kid, before plan
1..2
>>>> in async kid, after plan
diff --git a/test/test/console-log.tap b/test/test/console-log.tap
index a529f24..1a3a77a 100644
--- a/test/test/console-log.tap
+++ b/test/test/console-log.tap
@@ -1,8 +1,8 @@
>>>> before any tests
TAP version 13
-# Subtest: nesting
+ # Subtest: nesting
1..2
- # Subtest: first
+ # Subtest: first
1..3
ok 1 - true is ok
>>>> an object is { a: 'thing', to: [ 'inspect' ] }
@@ -11,7 +11,7 @@ TAP version 13
ok 1 - first ___/# time=[0-9.]+(ms)?/~~~
>>>> after first child
- # Subtest: second
+ # Subtest: second
ok 1 - but that is ok
ok 2 - this passes
ok 3 - nested ok
@@ -26,7 +26,7 @@ ok 1 - nesting ___/# time=[0-9.]+(ms)?/~~~
ok 2 - this passes
ok 3 - this passes too
>>>> after pass() calls
-# Subtest: async kid
+ # Subtest: async kid
>>>> in async kid, before plan
1..2
>>>> in async kid, after plan
diff --git a/test/test/deferred-comment-bail.tap b/test/test/deferred-comment-bail.tap
index 06e2862..354e020 100644
--- a/test/test/deferred-comment-bail.tap
+++ b/test/test/deferred-comment-bail.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: child
+ # Subtest: child
1..0
ok 1 - child ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/deferred-comment.tap b/test/test/deferred-comment.tap
index 06e2862..354e020 100644
--- a/test/test/deferred-comment.tap
+++ b/test/test/deferred-comment.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: child
+ # Subtest: child
1..0
ok 1 - child ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/end-end-bail.tap b/test/test/end-end-bail.tap
index 4a63eac..546f663 100644
--- a/test/test/end-end-bail.tap
+++ b/test/test/end-end-bail.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: end end
+ # Subtest: end end
1..0
ok 1 - end end ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/end-end.tap b/test/test/end-end.tap
index dcd05a8..7c75f75 100644
--- a/test/test/end-end.tap
+++ b/test/test/end-end.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: end end
+ # Subtest: end end
1..0
ok 1 - end end ___/# time=[0-9.]+(ms)?/~~~
@@ -7,11 +7,11 @@ not ok 2 - Error: test end() method called more than once
---
{"message":"Error: test end() method called more than once","test":"end end"}
...
-# Subtest: end then async end
+ # Subtest: end then async end
1..0
ok 3 - end then async end ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: double async end
+ # Subtest: double async end
1..0
ok 4 - double async end ___/# time=[0-9.]+(ms)?/~~~
@@ -19,17 +19,17 @@ not ok 5 - Error: test end() method called more than once
---
{"message":"Error: test end() method called more than once","test":"end then async end"}
...
-# Subtest: plan end
+ # Subtest: plan end
1..1
ok 1 - this is fine
ok 6 - plan end ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: plan then async end
+ # Subtest: plan then async end
1..1
ok 1 - this is fine
ok 7 - plan then async end ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: plan end end
+ # Subtest: plan end end
1..1
ok 1 - this is fine
ok 8 - plan end end ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/end-event-timing-bail.tap b/test/test/end-event-timing-bail.tap
index 96cf073..b239042 100644
--- a/test/test/end-event-timing-bail.tap
+++ b/test/test/end-event-timing-bail.tap
@@ -1,12 +1,12 @@
TAP version 13
-# Subtest: first
+ # Subtest: first
> start first
> before ending first
1..0
ok 1 - first ___/# time=[0-9.]+(ms)?/~~~
> first end event
-# Subtest: second
+ # Subtest: second
> start second
> after ending first
> before ending second
diff --git a/test/test/end-event-timing.tap b/test/test/end-event-timing.tap
index 96cf073..b239042 100644
--- a/test/test/end-event-timing.tap
+++ b/test/test/end-event-timing.tap
@@ -1,12 +1,12 @@
TAP version 13
-# Subtest: first
+ # Subtest: first
> start first
> before ending first
1..0
ok 1 - first ___/# time=[0-9.]+(ms)?/~~~
> first end event
-# Subtest: second
+ # Subtest: second
> start second
> after ending first
> before ending second
diff --git a/test/test/end-exception-bail.tap b/test/test/end-exception-bail.tap
index ee58097..16176f1 100644
--- a/test/test/end-exception-bail.tap
+++ b/test/test/end-exception-bail.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: (unnamed test)
+ # Subtest: (unnamed test)
1..1
ok 1 - should be equal
ok 1 - (unnamed test) ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/end-exception.tap b/test/test/end-exception.tap
index b2beb66..3f3af72 100644
--- a/test/test/end-exception.tap
+++ b/test/test/end-exception.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: (unnamed test)
+ # Subtest: (unnamed test)
1..1
ok 1 - should be equal
ok 1 - (unnamed test) ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/equivalent-bail.tap b/test/test/equivalent-bail.tap
index dfa24fb..1bfe331 100644
--- a/test/test/equivalent-bail.tap
+++ b/test/test/equivalent-bail.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: child test
+ # Subtest: child test
not ok 1 - should be equal
---
{"at":{"column":5,"file":"test/test/equivalent.js","line":3},"compare":"===","found":"foo\nbaz\nbar\n","source":"t.equal('foo\\nbaz\\nbar\\n', 'foo\\nblerb\\nbar\\n')\n","wanted":"foo\nblerb\nbar\n"}
diff --git a/test/test/equivalent.tap b/test/test/equivalent.tap
index b16205e..bb6c926 100644
--- a/test/test/equivalent.tap
+++ b/test/test/equivalent.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: child test
+ # Subtest: child test
not ok 1 - should be equal
---
{"at":{"column":5,"file":"test/test/equivalent.js","line":3},"compare":"===","found":"foo\nbaz\nbar\n","source":"t.equal('foo\\nbaz\\nbar\\n', 'foo\\nblerb\\nbar\\n')\n","wanted":"foo\nblerb\nbar\n"}
diff --git a/test/test/exit-on-bailout-bail.tap b/test/test/exit-on-bailout-bail.tap
index e99fadb..ec40ad4 100644
--- a/test/test/exit-on-bailout-bail.tap
+++ b/test/test/exit-on-bailout-bail.tap
@@ -1,8 +1,8 @@
log in root, before child
TAP version 13
-# Subtest: child
+ # Subtest: child
log in child, before grandchild
- # Subtest: grandchild
+ # Subtest: grandchild
log in grandchild, before bailout
Bail out! # cannot continue
Bail out! # cannot continue
diff --git a/test/test/exit-on-bailout.tap b/test/test/exit-on-bailout.tap
index e99fadb..ec40ad4 100644
--- a/test/test/exit-on-bailout.tap
+++ b/test/test/exit-on-bailout.tap
@@ -1,8 +1,8 @@
log in root, before child
TAP version 13
-# Subtest: child
+ # Subtest: child
log in child, before grandchild
- # Subtest: grandchild
+ # Subtest: grandchild
log in grandchild, before bailout
Bail out! # cannot continue
Bail out! # cannot continue
diff --git a/test/test/mochalike-bail.tap b/test/test/mochalike-bail.tap
index 2fc2aba..52321c4 100644
--- a/test/test/mochalike-bail.tap
+++ b/test/test/mochalike-bail.tap
@@ -1,11 +1,11 @@
TAP version 13
-# Subtest: a set of tests to be done later
+ # Subtest: a set of tests to be done later
ok 1 - should have a thingie # TODO
ok 2 - should have a second whoosits also # TODO
- # Subtest: the subset
+ # Subtest: the subset
ok 1 - should be a child thingie # TODO
ok 2 - should also be a whoosits # TODO
- # Subtest: has some of these things
+ # Subtest: has some of these things
1..0
ok 3 - has some of these things ___/# time=[0-9.]+(ms)?/~~~
@@ -16,33 +16,33 @@ TAP version 13
ok 1 - a set of tests to be done later ___/# time=[0-9.]+(ms)?/~~~
ok 2 - describe todo # TODO
-# Subtest: another set of tests
+ # Subtest: another set of tests
ok 1 - is a second set # TODO
ok 2 - looks like english # TODO
ok 3 - is marked TODO # TODO
1..3
ok 3 - another set of tests ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: reasonably indented things
- # Subtest: first subset
+ # Subtest: reasonably indented things
+ # Subtest: first subset
ok 1 - has no asserts, only fails to throw
ok 2 - is todo # TODO
- # Subtest: is async
+ # Subtest: is async
1..0
ok 3 - is async ___/# time=[0-9.]+(ms)?/~~~
1..3
ok 1 - first subset ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: second subset
+ # Subtest: second subset
1..0
ok 2 - second subset ___/# time=[0-9.]+(ms)?/~~~
1..2
ok 4 - reasonably indented things ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: failing indented things
- # Subtest: first subset
+ # Subtest: failing indented things
+ # Subtest: first subset
not ok 1 - has no asserts, only throws
---
{"actual":false,"at":{"column":7,"file":"test/test/mochalike.js","line":55},"expected":true,"generatedMessage":false,"message":"AssertionError: false is not true on line 50","name":"AssertionError","operator":"==","source":"ok(false, 'false is not true on line 50')\n"}
diff --git a/test/test/mochalike-ok-bail.tap b/test/test/mochalike-ok-bail.tap
index 4c3606e..69002eb 100644
--- a/test/test/mochalike-ok-bail.tap
+++ b/test/test/mochalike-ok-bail.tap
@@ -1,11 +1,11 @@
TAP version 13
-# Subtest: a set of tests to be done later
+ # Subtest: a set of tests to be done later
ok 1 - should have a thingie # TODO
ok 2 - should have a second whoosits also # TODO
- # Subtest: the subset
+ # Subtest: the subset
ok 1 - should be a child thingie # TODO
ok 2 - should also be a whoosits # TODO
- # Subtest: has some of these things
+ # Subtest: has some of these things
1..0
ok 3 - has some of these things ___/# time=[0-9.]+(ms)?/~~~
@@ -16,25 +16,25 @@ TAP version 13
ok 1 - a set of tests to be done later ___/# time=[0-9.]+(ms)?/~~~
ok 2 - describe todo # TODO
-# Subtest: another set of tests
+ # Subtest: another set of tests
ok 1 - is a second set # TODO
ok 2 - looks like english # TODO
ok 3 - is marked TODO # TODO
1..3
ok 3 - another set of tests ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: reasonably indented things
- # Subtest: first subset
+ # Subtest: reasonably indented things
+ # Subtest: first subset
ok 1 - has no asserts, only fails to throw
ok 2 - is todo # TODO
- # Subtest: is async
+ # Subtest: is async
1..0
ok 3 - is async ___/# time=[0-9.]+(ms)?/~~~
1..3
ok 1 - first subset ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: second subset
+ # Subtest: second subset
1..0
ok 2 - second subset ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/mochalike-ok.tap b/test/test/mochalike-ok.tap
index 4c3606e..69002eb 100644
--- a/test/test/mochalike-ok.tap
+++ b/test/test/mochalike-ok.tap
@@ -1,11 +1,11 @@
TAP version 13
-# Subtest: a set of tests to be done later
+ # Subtest: a set of tests to be done later
ok 1 - should have a thingie # TODO
ok 2 - should have a second whoosits also # TODO
- # Subtest: the subset
+ # Subtest: the subset
ok 1 - should be a child thingie # TODO
ok 2 - should also be a whoosits # TODO
- # Subtest: has some of these things
+ # Subtest: has some of these things
1..0
ok 3 - has some of these things ___/# time=[0-9.]+(ms)?/~~~
@@ -16,25 +16,25 @@ TAP version 13
ok 1 - a set of tests to be done later ___/# time=[0-9.]+(ms)?/~~~
ok 2 - describe todo # TODO
-# Subtest: another set of tests
+ # Subtest: another set of tests
ok 1 - is a second set # TODO
ok 2 - looks like english # TODO
ok 3 - is marked TODO # TODO
1..3
ok 3 - another set of tests ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: reasonably indented things
- # Subtest: first subset
+ # Subtest: reasonably indented things
+ # Subtest: first subset
ok 1 - has no asserts, only fails to throw
ok 2 - is todo # TODO
- # Subtest: is async
+ # Subtest: is async
1..0
ok 3 - is async ___/# time=[0-9.]+(ms)?/~~~
1..3
ok 1 - first subset ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: second subset
+ # Subtest: second subset
1..0
ok 2 - second subset ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/mochalike.tap b/test/test/mochalike.tap
index 9602d47..2c15607 100644
--- a/test/test/mochalike.tap
+++ b/test/test/mochalike.tap
@@ -1,11 +1,11 @@
TAP version 13
-# Subtest: a set of tests to be done later
+ # Subtest: a set of tests to be done later
ok 1 - should have a thingie # TODO
ok 2 - should have a second whoosits also # TODO
- # Subtest: the subset
+ # Subtest: the subset
ok 1 - should be a child thingie # TODO
ok 2 - should also be a whoosits # TODO
- # Subtest: has some of these things
+ # Subtest: has some of these things
1..0
ok 3 - has some of these things ___/# time=[0-9.]+(ms)?/~~~
@@ -16,33 +16,33 @@ TAP version 13
ok 1 - a set of tests to be done later ___/# time=[0-9.]+(ms)?/~~~
ok 2 - describe todo # TODO
-# Subtest: another set of tests
+ # Subtest: another set of tests
ok 1 - is a second set # TODO
ok 2 - looks like english # TODO
ok 3 - is marked TODO # TODO
1..3
ok 3 - another set of tests ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: reasonably indented things
- # Subtest: first subset
+ # Subtest: reasonably indented things
+ # Subtest: first subset
ok 1 - has no asserts, only fails to throw
ok 2 - is todo # TODO
- # Subtest: is async
+ # Subtest: is async
1..0
ok 3 - is async ___/# time=[0-9.]+(ms)?/~~~
1..3
ok 1 - first subset ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: second subset
+ # Subtest: second subset
1..0
ok 2 - second subset ___/# time=[0-9.]+(ms)?/~~~
1..2
ok 4 - reasonably indented things ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: failing indented things
- # Subtest: first subset
+ # Subtest: failing indented things
+ # Subtest: first subset
not ok 1 - has no asserts, only throws
---
{"actual":false,"at":{"column":7,"file":"test/test/mochalike.js","line":55},"expected":true,"generatedMessage":false,"message":"AssertionError: false is not true on line 50","name":"AssertionError","operator":"==","source":"ok(false, 'false is not true on line 50')\n"}
@@ -56,7 +56,7 @@ ok 4 - reasonably indented things ___/# time=[0-9.]+(ms)?/~~~
{"at":{"column":3,"file":"test/test/mochalike.js","line":52},"results":{"count":2,"fail":1,"ok":false,"pass":1,"plan":{"end":2,"start":1},"todo":2},"source":"describe('first subset', function () {\n"}
...
- # Subtest: second subset
+ # Subtest: second subset
not ok 1 - AssertionError: objectify the truthiness
---
{"actual":false,"at":{"column":5,"file":"test/test/mochalike.js","line":61},"expected":true,"generatedMessage":false,"message":"AssertionError: objectify the truthiness","name":"AssertionError","operator":"==","source":"ok(!{}, 'objectify the truthiness')\n","test":"second subset"}
@@ -75,8 +75,8 @@ not ok 5 - failing indented things ___/# time=[0-9.]+(ms)?/~~~
{"at":{"column":1,"file":"test/test/mochalike.js","line":51},"results":{"count":2,"fail":2,"ok":false,"pass":0,"plan":{"end":2,"start":1}},"source":"describe('failing indented things', function () {\n"}
...
-# Subtest: a test passing an error to done() callback
- # Subtest: is marked as failed
+ # Subtest: a test passing an error to done() callback
+ # Subtest: is marked as failed
not ok 1 - Error: error arg
---
{"at":{"column":12,"file":"test/test/mochalike.js","line":68},"message":"Error: error arg","source":"done(new Error('error arg'))\n","test":"is marked as failed"}
diff --git a/test/test/nesting-bail.tap b/test/test/nesting-bail.tap
index 4305649..e9947a8 100644
--- a/test/test/nesting-bail.tap
+++ b/test/test/nesting-bail.tap
@@ -1,13 +1,13 @@
TAP version 13
-# Subtest: nesting
+ # Subtest: nesting
1..2
- # Subtest: first
+ # Subtest: first
1..2
ok 1 - true is ok
ok 2 - doag is also okay
ok 1 - first ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: second
+ # Subtest: second
ok 1 - but that is ok
ok 2 - this passes
not ok 3 - nested failure
diff --git a/test/test/nesting.tap b/test/test/nesting.tap
index 77180e7..9f35b0c 100644
--- a/test/test/nesting.tap
+++ b/test/test/nesting.tap
@@ -1,13 +1,13 @@
TAP version 13
-# Subtest: nesting
+ # Subtest: nesting
1..2
- # Subtest: first
+ # Subtest: first
1..2
ok 1 - true is ok
ok 2 - doag is also okay
ok 1 - first ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: second
+ # Subtest: second
ok 1 - but that is ok
ok 2 - this passes
not ok 3 - nested failure
@@ -32,7 +32,7 @@ not ok 3 - this fails
---
{"at":{"column":3,"file":"test/test/nesting.js","line":28},"source":"t.fail('this fails')\n"}
...
-# Subtest: async kid
+ # Subtest: async kid
1..2
ok 1 - second timeout
not ok 2 - first timeout
diff --git a/test/test/not-ok-nested-bail.tap b/test/test/not-ok-nested-bail.tap
index 4cab97f..701ad1c 100644
--- a/test/test/not-ok-nested-bail.tap
+++ b/test/test/not-ok-nested-bail.tap
@@ -1,7 +1,7 @@
TAP version 13
-# Subtest: gp
+ # Subtest: gp
1..1
- # Subtest: parent
+ # Subtest: parent
1..1
not ok 1 - fail
---
diff --git a/test/test/not-ok-nested.tap b/test/test/not-ok-nested.tap
index 9968026..4c150db 100644
--- a/test/test/not-ok-nested.tap
+++ b/test/test/not-ok-nested.tap
@@ -1,7 +1,7 @@
TAP version 13
-# Subtest: gp
+ # Subtest: gp
1..1
- # Subtest: parent
+ # Subtest: parent
1..1
not ok 1 - fail
---
diff --git a/test/test/ok-bail.tap b/test/test/ok-bail.tap
index 9252c9d..c144da6 100644
--- a/test/test/ok-bail.tap
+++ b/test/test/ok-bail.tap
@@ -1,13 +1,13 @@
TAP version 13
-# Subtest: nesting
+ # Subtest: nesting
1..2
- # Subtest: first
+ # Subtest: first
1..2
ok 1 - true is ok
ok 2 - doag is also okay
ok 1 - first ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: second
+ # Subtest: second
ok 1 - but that is ok
ok 2 - this passes
ok 3 - nested ok
@@ -18,7 +18,7 @@ ok 1 - nesting ___/# time=[0-9.]+(ms)?/~~~
ok 2 - this passes
ok 3 - this passes too
-# Subtest: async kid
+ # Subtest: async kid
1..2
ok 1 - timeout
ok 2 - timeout
diff --git a/test/test/ok-diags-bail.tap b/test/test/ok-diags-bail.tap
index ea78298..bc4a09d 100644
--- a/test/test/ok-diags-bail.tap
+++ b/test/test/ok-diags-bail.tap
@@ -3,7 +3,7 @@ ok 1 - this is fine
---
{"foo":{"bar":"baz"}}
...
-# Subtest: child
+ # Subtest: child
1..1
ok 1 - this is fine
ok 2 - child ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/ok-diags.tap b/test/test/ok-diags.tap
index ea78298..bc4a09d 100644
--- a/test/test/ok-diags.tap
+++ b/test/test/ok-diags.tap
@@ -3,7 +3,7 @@ ok 1 - this is fine
---
{"foo":{"bar":"baz"}}
...
-# Subtest: child
+ # Subtest: child
1..1
ok 1 - this is fine
ok 2 - child ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/ok.tap b/test/test/ok.tap
index 9252c9d..c144da6 100644
--- a/test/test/ok.tap
+++ b/test/test/ok.tap
@@ -1,13 +1,13 @@
TAP version 13
-# Subtest: nesting
+ # Subtest: nesting
1..2
- # Subtest: first
+ # Subtest: first
1..2
ok 1 - true is ok
ok 2 - doag is also okay
ok 1 - first ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: second
+ # Subtest: second
ok 1 - but that is ok
ok 2 - this passes
ok 3 - nested ok
@@ -18,7 +18,7 @@ ok 1 - nesting ___/# time=[0-9.]+(ms)?/~~~
ok 2 - this passes
ok 3 - this passes too
-# Subtest: async kid
+ # Subtest: async kid
1..2
ok 1 - timeout
ok 2 - timeout
diff --git a/test/test/pending-handles-bail.tap b/test/test/pending-handles-bail.tap
index 887764f..faa55cd 100644
--- a/test/test/pending-handles-bail.tap
+++ b/test/test/pending-handles-bail.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: ___/.*/~~~pending-handles.js child
+ # Subtest: ___/.*/~~~pending-handles.js child
ok 1 - this is ok
not ok 2 - timeout!
---
diff --git a/test/test/pending-handles.tap b/test/test/pending-handles.tap
index 01cdf2d..f70ebb2 100644
--- a/test/test/pending-handles.tap
+++ b/test/test/pending-handles.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: ___/.*/~~~pending-handles.js child
+ # Subtest: ___/.*/~~~pending-handles.js child
ok 1 - this is ok
not ok 2 - timeout!
---
diff --git a/test/test/plan-async-bail.tap b/test/test/plan-async-bail.tap
index 0a72431..1d47ce9 100644
--- a/test/test/plan-async-bail.tap
+++ b/test/test/plan-async-bail.tap
@@ -1,6 +1,6 @@
TAP version 13
-# Subtest: post-plan async
- # Subtest: child test
+ # Subtest: post-plan async
+ # Subtest: child test
ok 1 - this is fine
1..1
ok 1 - child test ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/plan-async.tap b/test/test/plan-async.tap
index 0a72431..1d47ce9 100644
--- a/test/test/plan-async.tap
+++ b/test/test/plan-async.tap
@@ -1,6 +1,6 @@
TAP version 13
-# Subtest: post-plan async
- # Subtest: child test
+ # Subtest: post-plan async
+ # Subtest: child test
ok 1 - this is fine
1..1
ok 1 - child test ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/plan-failures-bail.tap b/test/test/plan-failures-bail.tap
index ed851d7..4cef963 100644
--- a/test/test/plan-failures-bail.tap
+++ b/test/test/plan-failures-bail.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: pass then pass plan()
+ # Subtest: pass then pass plan()
1..1
ok 1 - ok
ok 1 - pass then pass plan() ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/plan-failures.tap b/test/test/plan-failures.tap
index 76e9a07..19a23a4 100644
--- a/test/test/plan-failures.tap
+++ b/test/test/plan-failures.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: pass then pass plan()
+ # Subtest: pass then pass plan()
1..1
ok 1 - ok
ok 1 - pass then pass plan() ___/# time=[0-9.]+(ms)?/~~~
@@ -8,7 +8,7 @@ not ok 2 - Error: test count exceeds plan
---
{"at":{"column":12,"file":"test/test/plan-failures.js","function":"test","line":11},"count":2,"message":"Error: test count exceeds plan","plan":1,"source":"t[second]('extra')\n","test":"pass then pass plan()"}
...
-# Subtest: pass then pass end()
+ # Subtest: pass then pass end()
ok 1 - ok
1..1
ok 3 - pass then pass end() ___/# time=[0-9.]+(ms)?/~~~
@@ -17,7 +17,7 @@ not ok 4 - Error: test after end() was called
---
{"at":{"column":12,"file":"test/test/plan-failures.js","function":"test","line":11},"count":2,"message":"Error: test after end() was called","plan":1,"source":"t[second]('extra')\n","test":"pass then pass end()"}
...
-# Subtest: pass then fail plan()
+ # Subtest: pass then fail plan()
1..1
ok 1 - ok
ok 5 - pass then fail plan() ___/# time=[0-9.]+(ms)?/~~~
@@ -26,7 +26,7 @@ not ok 6 - Error: test count exceeds plan
---
{"at":{"column":12,"file":"test/test/plan-failures.js","function":"test","line":11},"count":2,"message":"Error: test count exceeds plan","plan":1,"source":"t[second]('extra')\n","test":"pass then fail plan()"}
...
-# Subtest: pass then fail end()
+ # Subtest: pass then fail end()
ok 1 - ok
1..1
ok 7 - pass then fail end() ___/# time=[0-9.]+(ms)?/~~~
@@ -35,7 +35,7 @@ not ok 8 - Error: test after end() was called
---
{"at":{"column":12,"file":"test/test/plan-failures.js","function":"test","line":11},"count":2,"message":"Error: test after end() was called","plan":1,"source":"t[second]('extra')\n","test":"pass then fail end()"}
...
-# Subtest: fail then pass plan()
+ # Subtest: fail then pass plan()
1..1
not ok 1 - ok
---
@@ -47,7 +47,7 @@ not ok 9 - fail then pass plan() ___/# time=[0-9.]+(ms)?/~~~
{"at":{"column":7,"file":"test/test/plan-failures.js","line":18},"results":{"count":1,"fail":1,"ok":false,"pass":0,"plan":{"end":1,"start":1}},"source":"t.test(first + ' then ' + second + ' plan()', function (t) {\n"}
...
-# Subtest: fail then pass end()
+ # Subtest: fail then pass end()
not ok 1 - ok
---
{"at":{"column":11,"file":"test/test/plan-failures.js","function":"test","line":7},"source":"t[first]('ok')\n"}
@@ -59,7 +59,7 @@ not ok 10 - fail then pass end() ___/# time=[0-9.]+(ms)?/~~~
{"at":{"column":7,"file":"test/test/plan-failures.js","line":21},"results":{"count":1,"fail":1,"ok":false,"pass":0,"plan":{"end":1,"start":1}},"source":"t.test(first + ' then ' + second + ' end()', function (t) {\n"}
...
-# Subtest: fail then fail plan()
+ # Subtest: fail then fail plan()
1..1
not ok 1 - ok
---
@@ -71,7 +71,7 @@ not ok 11 - fail then fail plan() ___/# time=[0-9.]+(ms)?/~~~
{"at":{"column":7,"file":"test/test/plan-failures.js","line":18},"results":{"count":1,"fail":1,"ok":false,"pass":0,"plan":{"end":1,"start":1}},"source":"t.test(first + ' then ' + second + ' plan()', function (t) {\n"}
...
-# Subtest: fail then fail end()
+ # Subtest: fail then fail end()
not ok 1 - ok
---
{"at":{"column":11,"file":"test/test/plan-failures.js","function":"test","line":7},"source":"t[first]('ok')\n"}
diff --git a/test/test/plan-too-many-bail.tap b/test/test/plan-too-many-bail.tap
index 20abc57..72d89ac 100644
--- a/test/test/plan-too-many-bail.tap
+++ b/test/test/plan-too-many-bail.tap
@@ -1,9 +1,9 @@
TAP version 13
-# Subtest: children plan too big
+ # Subtest: children plan too big
1..9
ok 1 - this is ok
ok 2 - i am ok with how this is proceeding
- # Subtest: grandchild
+ # Subtest: grandchild
1..8
ok 1 - i am planning big things
not ok 2 - test unfinished: grandchild
diff --git a/test/test/plan-too-many.tap b/test/test/plan-too-many.tap
index 9656426..bc06283 100644
--- a/test/test/plan-too-many.tap
+++ b/test/test/plan-too-many.tap
@@ -1,9 +1,9 @@
TAP version 13
-# Subtest: children plan too big
+ # Subtest: children plan too big
1..9
ok 1 - this is ok
ok 2 - i am ok with how this is proceeding
- # Subtest: grandchild
+ # Subtest: grandchild
1..8
ok 1 - i am planning big things
not ok 2 - test unfinished: grandchild
diff --git a/test/test/pragma-bail.tap b/test/test/pragma-bail.tap
index d79110c..c1e47c8 100644
--- a/test/test/pragma-bail.tap
+++ b/test/test/pragma-bail.tap
@@ -1,6 +1,6 @@
TAP version 13
pragma +child
-# Subtest: ___/.*/~~~pragma.js child
+ # Subtest: ___/.*/~~~pragma.js child
this is not tap but it is ok
ok 1 - an ok test
pragma +strict
diff --git a/test/test/pragma.tap b/test/test/pragma.tap
index 2a6a08b..730d926 100644
--- a/test/test/pragma.tap
+++ b/test/test/pragma.tap
@@ -1,6 +1,6 @@
TAP version 13
pragma +child
-# Subtest: ___/.*/~~~pragma.js child
+ # Subtest: ___/.*/~~~pragma.js child
this is not tap but it is ok
ok 1 - an ok test
pragma +strict
@@ -16,7 +16,7 @@ not ok 1 - ___/.*/~~~pragma.js child ___/# time=[0-9.]+(ms)?/~~~
...
pragma -child
-# Subtest: ___/.*/~~~pragma.js child bailout
+ # Subtest: ___/.*/~~~pragma.js child bailout
Bail out! # no pragmas come after bailout
Bail out! # no pragmas come after bailout
diff --git a/test/test/promise-bail.tap b/test/test/promise-bail.tap
index 784be2a..7897661 100644
--- a/test/test/promise-bail.tap
+++ b/test/test/promise-bail.tap
@@ -1,8 +1,8 @@
TAP version 13
-# Subtest: one
- # Subtest: two
- # Subtest: child of 2
- # Subtest: grandchild of 2
+ # Subtest: one
+ # Subtest: two
+ # Subtest: child of 2
+ # Subtest: grandchild of 2
ok 1 - this is fine
1..1
ok 1 - grandchild of 2 ___/# time=[0-9.]+(ms)?/~~~
@@ -13,27 +13,27 @@ TAP version 13
1..1
ok 1 - two ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: second child of 2
+ # Subtest: second child of 2
1..0
ok 2 - second child of 2 ___/# time=[0-9.]+(ms)?/~~~
1..2
ok 1 - one ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: three
+ # Subtest: three
1..0
ok 2 - three ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: some_function_name
+ # Subtest: some_function_name
ok 1 - resolved to 1
1..1
ok 3 - some_function_name ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: ___/.*/~~~promise.js child
- # Subtest: one
- # Subtest: two
- # Subtest: child of 2
- # Subtest: grandchild of 2
+ # Subtest: ___/.*/~~~promise.js child
+ # Subtest: one
+ # Subtest: two
+ # Subtest: child of 2
+ # Subtest: grandchild of 2
ok 1 - this is fine
1..1
ok 1 - grandchild of 2 ___/# time=[0-9.]+(ms)?/~~~
@@ -44,23 +44,23 @@ ok 3 - some_function_name ___/# time=[0-9.]+(ms)?/~~~
1..1
ok 1 - two ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: second child of 2
+ # Subtest: second child of 2
1..0
ok 2 - second child of 2 ___/# time=[0-9.]+(ms)?/~~~
1..2
ok 1 - one ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: three
+ # Subtest: three
1..0
ok 2 - three ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: some_function_name
+ # Subtest: some_function_name
ok 1 - resolved to 1
1..1
ok 3 - some_function_name ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: spawned
+ # Subtest: spawned
ok 1 - in the spawned child
1..1
ok 4 - spawned ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/promise-fails-bail.tap b/test/test/promise-fails-bail.tap
index 4fa4ff3..5eef8f2 100644
--- a/test/test/promise-fails-bail.tap
+++ b/test/test/promise-fails-bail.tap
@@ -1,8 +1,8 @@
TAP version 13
-# Subtest: one
- # Subtest: two
- # Subtest: child of 2
- # Subtest: grandchild of 2
+ # Subtest: one
+ # Subtest: two
+ # Subtest: child of 2
+ # Subtest: grandchild of 2
not ok 1 - Error: fail 1
---
{"at":{"column":15,"file":"test/test/promise-fails.js","line":7},"message":"Error: fail 1","source":"throw new Error('fail 1')\n","test":"grandchild of 2"}
diff --git a/test/test/promise-fails.tap b/test/test/promise-fails.tap
index c4ac0b6..c2d7dfd 100644
--- a/test/test/promise-fails.tap
+++ b/test/test/promise-fails.tap
@@ -1,8 +1,8 @@
TAP version 13
-# Subtest: one
- # Subtest: two
- # Subtest: child of 2
- # Subtest: grandchild of 2
+ # Subtest: one
+ # Subtest: two
+ # Subtest: child of 2
+ # Subtest: grandchild of 2
not ok 1 - Error: fail 1
---
{"at":{"column":15,"file":"test/test/promise-fails.js","line":7},"message":"Error: fail 1","source":"throw new Error('fail 1')\n","test":"grandchild of 2"}
@@ -28,7 +28,7 @@ TAP version 13
{"at":{"column":12,"file":"test/test/promise-fails.js","line":4},"results":{"count":1,"fail":1,"ok":false,"pass":0,"plan":{"end":1,"start":1}},"source":"return t.test('two', function (t) {\n"}
...
- # Subtest: second child of 2
+ # Subtest: second child of 2
not ok 1 - Error: fail 2
---
{"at":{"column":13,"file":"test/test/promise-fails.js","line":12},"message":"Error: fail 2","source":"throw new Error('fail 2')\n","test":"second child of 2"}
@@ -47,7 +47,7 @@ not ok 1 - one ___/# time=[0-9.]+(ms)?/~~~
{"at":{"column":3,"file":"test/test/promise-fails.js","line":3},"results":{"count":2,"fail":2,"ok":false,"pass":0,"plan":{"end":2,"start":1}},"source":"t.test('one', function (t) {\n"}
...
-# Subtest: three
+ # Subtest: three
not ok 1 - Error: fail 3
---
{"at":{"column":13,"file":"test/test/promise-fails.js","line":18},"message":"Error: fail 3","source":"throw new Error('fail 3')\n","test":"three"}
@@ -59,7 +59,7 @@ not ok 2 - three ___/# time=[0-9.]+(ms)?/~~~
{"at":{"column":12,"file":"test/test/promise-fails.js","line":16},"results":{"count":1,"fail":1,"ok":false,"pass":0,"plan":{"end":1,"start":1}},"source":"return t.test('three', function (t) {\n"}
...
-# Subtest: some_function_name
+ # Subtest: some_function_name
not ok 1 - Error: fail 4
---
{"at":{"column":15,"file":"test/test/promise-fails.js","line":29},"message":"Error: fail 4","source":"throw new Error('fail 4')\n","test":"some_function_name"}
diff --git a/test/test/promise-plan-bail.tap b/test/test/promise-plan-bail.tap
index c7bffe1..91fa4c8 100644
--- a/test/test/promise-plan-bail.tap
+++ b/test/test/promise-plan-bail.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: one
+ # Subtest: one
running one
1..1
ok 1 - done one
@@ -9,21 +9,21 @@ one promise was fulfilled
ok 1 - one ___/# time=[0-9.]+(ms)?/~~~
one end
-# Subtest: two
+ # Subtest: two
running two
1..1
ok 1 - done two
two promise was fulfilled
ok 2 - two ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: three
+ # Subtest: three
running three
1..0
ok 3 - three ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: broken promises
+ # Subtest: broken promises
1..2
- # Subtest: end()
+ # Subtest: end()
1..0
not ok 1 - end() ___/# time=[0-9.]+(ms)?/~~~
---
diff --git a/test/test/promise-plan.tap b/test/test/promise-plan.tap
index db462e3..05c95af 100644
--- a/test/test/promise-plan.tap
+++ b/test/test/promise-plan.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: one
+ # Subtest: one
running one
1..1
ok 1 - done one
@@ -9,28 +9,28 @@ one promise was fulfilled
ok 1 - one ___/# time=[0-9.]+(ms)?/~~~
one end
-# Subtest: two
+ # Subtest: two
running two
1..1
ok 1 - done two
two promise was fulfilled
ok 2 - two ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: three
+ # Subtest: three
running three
1..0
ok 3 - three ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: broken promises
+ # Subtest: broken promises
1..2
- # Subtest: end()
+ # Subtest: end()
1..0
not ok 1 - end() ___/# time=[0-9.]+(ms)?/~~~
---
{"at":{"column":5,"file":"test/test/promise-plan.js","line":42},"results":{"count":0,"ok":false,"pass":0,"plan":{"end":0,"start":1}},"source":"t.test('end()', function (t) {\n"}
...
- # Subtest: plan
+ # Subtest: plan
1..1
ok 1 - this is fine
not ok 2 - plan ___/# time=[0-9.]+(ms)?/~~~
@@ -43,16 +43,16 @@ not ok 4 - broken promises ___/# time=[0-9.]+(ms)?/~~~
{"at":{"column":3,"file":"test/test/promise-plan.js","line":40},"results":{"count":2,"fail":2,"ok":false,"pass":0,"plan":{"end":2,"start":1}},"source":"t.test('broken promises', function (t) {\n"}
...
-# Subtest: thrown with timeouts
+ # Subtest: thrown with timeouts
1..2
- # Subtest: end()
+ # Subtest: end()
1..0
not ok 1 - end() ___/# time=[0-9.]+(ms)?/~~~
---
{"at":{"column":5,"file":"test/test/promise-plan.js","line":59},"results":{"count":0,"ok":false,"pass":0,"plan":{"end":0,"start":1}},"source":"t.test('end()', function (t) {\n"}
...
- # Subtest: plan
+ # Subtest: plan
1..1
ok 1 - this is fine
not ok 2 - plan ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/promise-return-bail.tap b/test/test/promise-return-bail.tap
index 4c6fc2d..7cd712a 100644
--- a/test/test/promise-return-bail.tap
+++ b/test/test/promise-return-bail.tap
@@ -1,10 +1,10 @@
TAP version 13
-# Subtest: auto-end on resolve
+ # Subtest: auto-end on resolve
ok 1 - true is ok
1..1
ok 1 - auto-end on resolve ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: rejected
+ # Subtest: rejected
not ok 1 - Error: expected error
---
{"at":{"column":34,"file":"test/test/promise-return.js","line":22},"message":"Error: expected error","source":"setTimeout(reject.bind(null, new Error('expected error'), 150))\n","test":"rejected"}
diff --git a/test/test/promise-return-mocha-bail.tap b/test/test/promise-return-mocha-bail.tap
index 26e92ab..202c8a6 100644
--- a/test/test/promise-return-mocha-bail.tap
+++ b/test/test/promise-return-mocha-bail.tap
@@ -1,13 +1,13 @@
TAP version 13
-# Subtest: auto-end on resolve
+ # Subtest: auto-end on resolve
1..0
ok 1 - auto-end on resolve ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: auto-end on resolve without cb
+ # Subtest: auto-end on resolve without cb
1..0
ok 2 - auto-end on resolve without cb ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: rejected
+ # Subtest: rejected
not ok 1 - Error: expected error
---
{"at":{"column":34,"file":"test/test/promise-return-mocha.js","line":31},"message":"Error: expected error","source":"setTimeout(reject.bind(null, new Error('expected error'), 150))\n","test":"rejected"}
diff --git a/test/test/promise-return-mocha.tap b/test/test/promise-return-mocha.tap
index 8a816a5..f2738f0 100644
--- a/test/test/promise-return-mocha.tap
+++ b/test/test/promise-return-mocha.tap
@@ -1,13 +1,13 @@
TAP version 13
-# Subtest: auto-end on resolve
+ # Subtest: auto-end on resolve
1..0
ok 1 - auto-end on resolve ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: auto-end on resolve without cb
+ # Subtest: auto-end on resolve without cb
1..0
ok 2 - auto-end on resolve without cb ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: rejected
+ # Subtest: rejected
not ok 1 - Error: expected error
---
{"at":{"column":34,"file":"test/test/promise-return-mocha.js","line":31},"message":"Error: expected error","source":"setTimeout(reject.bind(null, new Error('expected error'), 150))\n","test":"rejected"}
@@ -19,7 +19,7 @@ not ok 3 - rejected ___/# time=[0-9.]+(ms)?/~~~
{"at":{"column":1,"file":"test/test/promise-return-mocha.js","line":29},"results":{"count":1,"fail":1,"ok":false,"pass":0,"plan":{"end":1,"start":1}},"source":"describe('rejected', function (done) {\n"}
...
-# Subtest: rejected without cb
+ # Subtest: rejected without cb
not ok 1 - Error: expected error
---
{"at":{"column":34,"file":"test/test/promise-return-mocha.js","line":37},"message":"Error: expected error","source":"setTimeout(reject.bind(null, new Error('expected error'), 150))\n","test":"rejected without cb"}
diff --git a/test/test/promise-return.tap b/test/test/promise-return.tap
index a3adda0..8590ee8 100644
--- a/test/test/promise-return.tap
+++ b/test/test/promise-return.tap
@@ -1,10 +1,10 @@
TAP version 13
-# Subtest: auto-end on resolve
+ # Subtest: auto-end on resolve
ok 1 - true is ok
1..1
ok 1 - auto-end on resolve ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: rejected
+ # Subtest: rejected
not ok 1 - Error: expected error
---
{"at":{"column":34,"file":"test/test/promise-return.js","line":22},"message":"Error: expected error","source":"setTimeout(reject.bind(null, new Error('expected error'), 150))\n","test":"rejected"}
diff --git a/test/test/promise.tap b/test/test/promise.tap
index 784be2a..7897661 100644
--- a/test/test/promise.tap
+++ b/test/test/promise.tap
@@ -1,8 +1,8 @@
TAP version 13
-# Subtest: one
- # Subtest: two
- # Subtest: child of 2
- # Subtest: grandchild of 2
+ # Subtest: one
+ # Subtest: two
+ # Subtest: child of 2
+ # Subtest: grandchild of 2
ok 1 - this is fine
1..1
ok 1 - grandchild of 2 ___/# time=[0-9.]+(ms)?/~~~
@@ -13,27 +13,27 @@ TAP version 13
1..1
ok 1 - two ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: second child of 2
+ # Subtest: second child of 2
1..0
ok 2 - second child of 2 ___/# time=[0-9.]+(ms)?/~~~
1..2
ok 1 - one ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: three
+ # Subtest: three
1..0
ok 2 - three ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: some_function_name
+ # Subtest: some_function_name
ok 1 - resolved to 1
1..1
ok 3 - some_function_name ___/# time=[0-9.]+(ms)?/~~~
-# Subtest: ___/.*/~~~promise.js child
- # Subtest: one
- # Subtest: two
- # Subtest: child of 2
- # Subtest: grandchild of 2
+ # Subtest: ___/.*/~~~promise.js child
+ # Subtest: one
+ # Subtest: two
+ # Subtest: child of 2
+ # Subtest: grandchild of 2
ok 1 - this is fine
1..1
ok 1 - grandchild of 2 ___/# time=[0-9.]+(ms)?/~~~
@@ -44,23 +44,23 @@ ok 3 - some_function_name ___/# time=[0-9.]+(ms)?/~~~
1..1
ok 1 - two ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: second child of 2
+ # Subtest: second child of 2
1..0
ok 2 - second child of 2 ___/# time=[0-9.]+(ms)?/~~~
1..2
ok 1 - one ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: three
+ # Subtest: three
1..0
ok 2 - three ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: some_function_name
+ # Subtest: some_function_name
ok 1 - resolved to 1
1..1
ok 3 - some_function_name ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: spawned
+ # Subtest: spawned
ok 1 - in the spawned child
1..1
ok 4 - spawned ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/root-teardown-bail.tap b/test/test/root-teardown-bail.tap
index 1baac92..a45e0ef 100644
--- a/test/test/root-teardown-bail.tap
+++ b/test/test/root-teardown-bail.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: child test
+ # Subtest: child test
ok 1 - this is ok
1..1
ok 1 - child test ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/root-teardown.tap b/test/test/root-teardown.tap
index 1baac92..a45e0ef 100644
--- a/test/test/root-teardown.tap
+++ b/test/test/root-teardown.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: child test
+ # Subtest: child test
ok 1 - this is ok
1..1
ok 1 - child test ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/spawn-bail.tap b/test/test/spawn-bail.tap
index 4c963cc..dbe5f0a 100644
--- a/test/test/spawn-bail.tap
+++ b/test/test/spawn-bail.tap
@@ -1,14 +1,14 @@
TAP version 13
-# Subtest: ___/.*/~~~spawn.js child
- # Subtest: nesting
+ # Subtest: ___/.*/~~~spawn.js child
+ # Subtest: nesting
1..2
- # Subtest: first
+ # Subtest: first
1..2
ok 1 - true is ok
ok 2 - doag is also okay
ok 1 - first ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: second
+ # Subtest: second
ok 1 - but that is ok
ok 2 - this passes
not ok 3 - nested failure
diff --git a/test/test/spawn-empty-bail.tap b/test/test/spawn-empty-bail.tap
index e591999..2f29bea 100644
--- a/test/test/spawn-empty-bail.tap
+++ b/test/test/spawn-empty-bail.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: ___/.*/~~~spawn-empty.js child
+ # Subtest: ___/.*/~~~spawn-empty.js child
1..0
ok 1 - ___/.*/~~~spawn-empty.js child # SKIP No tests found
diff --git a/test/test/spawn-empty.tap b/test/test/spawn-empty.tap
index e591999..2f29bea 100644
--- a/test/test/spawn-empty.tap
+++ b/test/test/spawn-empty.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: ___/.*/~~~spawn-empty.js child
+ # Subtest: ___/.*/~~~spawn-empty.js child
1..0
ok 1 - ___/.*/~~~spawn-empty.js child # SKIP No tests found
diff --git a/test/test/spawn-failures-bail.tap b/test/test/spawn-failures-bail.tap
index 2b5cc2d..46a9372 100644
--- a/test/test/spawn-failures-bail.tap
+++ b/test/test/spawn-failures-bail.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: spawn that throws
+ # Subtest: spawn that throws
not ok 1 - Error: now is fine
---
{"at":{"column":14,"file":"test/test/spawn-failures.js","line":25},"message":"Error: now is fine","source":"throwNow = new Error('now is fine')\n","test":"spawn that throws"}
diff --git a/test/test/spawn-failures.tap b/test/test/spawn-failures.tap
index f073d30..80ee272 100644
--- a/test/test/spawn-failures.tap
+++ b/test/test/spawn-failures.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: spawn that throws
+ # Subtest: spawn that throws
not ok 1 - Error: now is fine
---
{"at":{"column":14,"file":"test/test/spawn-failures.js","line":25},"message":"Error: now is fine","source":"throwNow = new Error('now is fine')\n","test":"spawn that throws"}
@@ -11,8 +11,8 @@ not ok 1 - spawn that throws ___/# time=[0-9.]+(ms)?/~~~
{"at":{"column":3,"file":"test/test/spawn-failures.js","line":24},"results":{"count":1,"fail":1,"ok":false,"pass":0,"plan":{"end":1,"start":1}},"source":"t.test('spawn that throws', function (t) {\n"}
...
-# Subtest: spawn that throws
- # Subtest: ./test/test/ok.js
+ # Subtest: spawn that throws
+ # Subtest: ./test/test/ok.js
not ok 1 - Error: later is fine
---
{"at":{"column":16,"file":"test/test/spawn-failures.js","line":34},"message":"Error: later is fine","source":"throwLater = new Error('later is fine')\n","test":"spawn that throws"}
diff --git a/test/test/spawn-stderr-bail.tap b/test/test/spawn-stderr-bail.tap
index 1b55af6..2bb908e 100644
--- a/test/test/spawn-stderr-bail.tap
+++ b/test/test/spawn-stderr-bail.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: ___/.*/~~~spawn-stderr.js child
+ # Subtest: ___/.*/~~~spawn-stderr.js child
stdout
ok 1 - this is ok
1..1
diff --git a/test/test/spawn-stderr.tap b/test/test/spawn-stderr.tap
index 1b55af6..2bb908e 100644
--- a/test/test/spawn-stderr.tap
+++ b/test/test/spawn-stderr.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: ___/.*/~~~spawn-stderr.js child
+ # Subtest: ___/.*/~~~spawn-stderr.js child
stdout
ok 1 - this is ok
1..1
diff --git a/test/test/spawn.tap b/test/test/spawn.tap
index f550cac..3daade8 100644
--- a/test/test/spawn.tap
+++ b/test/test/spawn.tap
@@ -1,14 +1,14 @@
TAP version 13
-# Subtest: ___/.*/~~~spawn.js child
- # Subtest: nesting
+ # Subtest: ___/.*/~~~spawn.js child
+ # Subtest: nesting
1..2
- # Subtest: first
+ # Subtest: first
1..2
ok 1 - true is ok
ok 2 - doag is also okay
ok 1 - first ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: second
+ # Subtest: second
ok 1 - but that is ok
ok 2 - this passes
not ok 3 - nested failure
@@ -33,7 +33,7 @@ TAP version 13
---
{"at":{"column":3,"file":"test/test/spawn.js","line":36},"source":"t.fail('this fails')\n"}
...
- # Subtest: async kid
+ # Subtest: async kid
1..2
ok 1 - second timeout
not ok 2 - first timeout
@@ -55,15 +55,15 @@ not ok 1 - ___/.*/~~~spawn.js child ___/# time=[0-9.]+(ms)?/~~~
{"arguments":["___/.*/~~~spawn.js","child"],"at":{"column":5,"file":"test/test/spawn.js","line":8},"command":"___/.*(node|iojs)(.exe)?/~~~","results":{"count":5,"fail":3,"ok":false,"pass":2,"plan":{"end":5,"start":1}},"source":"t.spawn(process.execPath, [__filename, 'child'])\n"}
...
-# Subtest: nesting
+ # Subtest: nesting
1..2
- # Subtest: first
+ # Subtest: first
1..2
ok 1 - true is ok
ok 2 - doag is also okay
ok 1 - first ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: second
+ # Subtest: second
ok 1 - but that is ok
ok 2 - this passes
not ok 3 - nested failure
@@ -88,7 +88,7 @@ not ok 4 - this fails
---
{"at":{"column":3,"file":"test/test/spawn.js","line":36},"source":"t.fail('this fails')\n"}
...
-# Subtest: async kid
+ # Subtest: async kid
1..2
ok 1 - second timeout
not ok 2 - first timeout
diff --git a/test/test/sync-timeout-bail.tap b/test/test/sync-timeout-bail.tap
index 1b73fdc..4513652 100644
--- a/test/test/sync-timeout-bail.tap
+++ b/test/test/sync-timeout-bail.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: t.end()
+ # Subtest: t.end()
ok 1 - did not timeout
not ok 2 - timeout!
---
diff --git a/test/test/sync-timeout.tap b/test/test/sync-timeout.tap
index 2353977..def41c0 100644
--- a/test/test/sync-timeout.tap
+++ b/test/test/sync-timeout.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: t.end()
+ # Subtest: t.end()
ok 1 - did not timeout
not ok 2 - timeout!
---
@@ -13,7 +13,7 @@ not ok 1 - t.end() ___/# time=[0-9.]+(ms)?/~~~
...
# failed 1 of 2 tests
-# Subtest: plan()
+ # Subtest: plan()
1..1
ok 1 - did not time out
not ok 2 - plan() ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/throw-bail.tap b/test/test/throw-bail.tap
index b8590c3..ee14920 100644
--- a/test/test/throw-bail.tap
+++ b/test/test/throw-bail.tap
@@ -1,13 +1,13 @@
TAP version 13
-# Subtest: nesting
+ # Subtest: nesting
1..3
- # Subtest: first
+ # Subtest: first
1..2
ok 1 - true is ok
ok 2 - doag is also okay
ok 1 - first ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: async thrower
+ # Subtest: async thrower
not ok 1 - Error: THINK FAST! and also lines so many
---
{"at":{"column":16,"file":"test/test/throw.js","line":12},"jerk":true,"message":"Error: THINK FAST!\nand also lines\nso many","source":"var er = new Error('THINK FAST!\\nand also lines\\nso many')\n","test":"async thrower"}
diff --git a/test/test/throw-twice-bail.tap b/test/test/throw-twice-bail.tap
index b26d3cd..974c5aa 100644
--- a/test/test/throw-twice-bail.tap
+++ b/test/test/throw-twice-bail.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: fine
+ # Subtest: fine
ok 1 - fine
1..1
ok 1 - fine ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/throw-twice.tap b/test/test/throw-twice.tap
index b1161b8..5b57d0b 100644
--- a/test/test/throw-twice.tap
+++ b/test/test/throw-twice.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: fine
+ # Subtest: fine
ok 1 - fine
1..1
ok 1 - fine ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/throw.tap b/test/test/throw.tap
index 26b23d4..8bd0661 100644
--- a/test/test/throw.tap
+++ b/test/test/throw.tap
@@ -1,13 +1,13 @@
TAP version 13
-# Subtest: nesting
+ # Subtest: nesting
1..3
- # Subtest: first
+ # Subtest: first
1..2
ok 1 - true is ok
ok 2 - doag is also okay
ok 1 - first ___/# time=[0-9.]+(ms)?/~~~
- # Subtest: async thrower
+ # Subtest: async thrower
not ok 1 - Error: THINK FAST! and also lines so many
---
{"at":{"column":16,"file":"test/test/throw.js","line":12},"jerk":true,"message":"Error: THINK FAST!\nand also lines\nso many","source":"var er = new Error('THINK FAST!\\nand also lines\\nso many')\n","test":"async thrower"}
@@ -19,7 +19,7 @@ TAP version 13
{"at":{"column":5,"file":"test/test/throw.js","line":10},"results":{"count":1,"fail":1,"ok":false,"pass":0,"plan":{"end":1,"start":1}},"source":"t.test('async thrower', function (tt) {\n"}
...
- # Subtest: thrower
+ # Subtest: thrower
not ok 1 - Error: here hold this for a second
---
{"at":{"column":14,"file":"test/test/throw.js","line":18},"message":"Error: here hold this for a second","source":"var er = new Error('here hold this for a second')\n","syscall":"ring ring","test":"thrower"}
@@ -41,7 +41,7 @@ not ok 3 - this fails
---
{"at":{"column":3,"file":"test/test/throw.js","line":25},"source":"t.fail('this fails')\n"}
...
-# Subtest: async kid
+ # Subtest: async kid
1..2
Bail out! # cannot continue
Bail out! # cannot continue
diff --git a/test/test/throws-and-plans-bail.tap b/test/test/throws-and-plans-bail.tap
index 034a38a..b5f9332 100644
--- a/test/test/throws-and-plans-bail.tap
+++ b/test/test/throws-and-plans-bail.tap
@@ -1,8 +1,8 @@
TAP version 13
ok 1 - expect truthy value
-# Subtest: plans of 1
+ # Subtest: plans of 1
ok 1 - before sync thrower
- # Subtest: sync thrower
+ # Subtest: sync thrower
1..1
ok 1 - before the bomb
ok 2 - sync thrower ___/# time=[0-9.]+(ms)?/~~~
diff --git a/test/test/throws-and-plans.tap b/test/test/throws-and-plans.tap
index 99bc19f..e17fc36 100644
--- a/test/test/throws-and-plans.tap
+++ b/test/test/throws-and-plans.tap
@@ -1,8 +1,8 @@
TAP version 13
ok 1 - expect truthy value
-# Subtest: plans of 1
+ # Subtest: plans of 1
ok 1 - before sync thrower
- # Subtest: sync thrower
+ # Subtest: sync thrower
1..1
ok 1 - before the bomb
ok 2 - sync thrower ___/# time=[0-9.]+(ms)?/~~~
@@ -11,7 +11,7 @@ ok 1 - expect truthy value
---
{"at":{"column":11,"file":"test/test/throws-and-plans.js","line":10},"message":"Error: pwnSync","source":"throw new Error('pwnSync')\n","test":"sync thrower"}
...
- # Subtest: async thrower
+ # Subtest: async thrower
1..3
ok 1 - before set the bomb
ok 2 - after set the bomb
@@ -26,7 +26,7 @@ not ok 2 - plans of 1 ___/# time=[0-9.]+(ms)?/~~~
{"at":{"column":3,"file":"test/test/throws-and-plans.js","line":4},"results":{"count":5,"fail":1,"ok":false,"pass":4,"plan":{"end":5,"start":1}},"source":"t.test('plans of 1', function (t) {\n"}
...
-# Subtest: no assert only throw
+ # Subtest: no assert only throw
not ok 1 - AssertionError: false is truthy right?
---
{"actual":false,"at":{"column":3,"file":"test/test/throws-and-plans.js","line":29},"expected":true,"generatedMessage":false,"message":"AssertionError: false is truthy right?","name":"AssertionError","operator":"==","source":"assert(false, 'false is truthy right?')\n","test":"no assert only throw"}
@@ -38,9 +38,9 @@ not ok 3 - no assert only throw ___/# time=[0-9.]+(ms)?/~~~
{"at":{"column":3,"file":"test/test/throws-and-plans.js","line":26},"results":{"count":1,"fail":1,"ok":false,"pass":0,"plan":{"end":1,"start":1}},"source":"t.test('no assert only throw', function (t) {\n"}
...
-# Subtest: plans of 8
+ # Subtest: plans of 8
ok 1 - before child
- # Subtest: sync thrower
+ # Subtest: sync thrower
1..8
ok 1 - before the bomb
not ok 2 - Error: pwnSync
@@ -59,7 +59,7 @@ not ok 3 - no assert only throw ___/# time=[0-9.]+(ms)?/~~~
{"at":{"column":5,"file":"test/test/throws-and-plans.js","line":35},"results":{"count":8,"fail":7,"ok":false,"pass":1,"plan":{"end":8,"start":1}},"source":"t.test('sync thrower', function (tt) {\n"}
...
- # Subtest: async thrower
+ # Subtest: async thrower
1..8
ok 1 - before set the bomb
ok 2 - after set the bomb
diff --git a/test/test/throws-bail.tap b/test/test/throws-bail.tap
index 74bf51c..1936582 100644
--- a/test/test/throws-bail.tap
+++ b/test/test/throws-bail.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: throws should match a regex
+ # Subtest: throws should match a regex
1..2
ok 1 - passing_thrower
not ok 2 - failing_thrower
diff --git a/test/test/throws.tap b/test/test/throws.tap
index f6b4e5a..f7d72b9 100644
--- a/test/test/throws.tap
+++ b/test/test/throws.tap
@@ -1,5 +1,5 @@
TAP version 13
-# Subtest: throws should match a regex
+ # Subtest: throws should match a regex
1..2
ok 1 - passing_thrower
not ok 2 - failing_thrower
diff --git a/test/test/timeout-bail.tap b/test/test/timeout-bail.tap
index 6788089..d324b73 100644
--- a/test/test/timeout-bail.tap
+++ b/test/test/timeout-bail.tap
@@ -1,8 +1,8 @@
TAP version 13
-# Subtest: parent of timeout test
- # Subtest: timeout test
- # Subtest: this never completes
- # Subtest: baby
+ # Subtest: parent of timeout test
+ # Subtest: timeout test
+ # Subtest: this never completes
+ # Subtest: baby
ok 1 - expect truthy value
not ok 2 - timeout!
---
diff --git a/test/test/timeout-via-runner-bail.tap b/test/test/timeout-via-runner-bail.tap
index b52d819..8e82b42 100644
--- a/test/test/timeout-via-runner-bail.tap
+++ b/test/test/timeout-via-runner-bail.tap
@@ -1,9 +1,9 @@
TAP version 13
-# Subtest: child
+ # Subtest: child
ok 1 - this is fine 1
ok 2 - this is fine 2
ok 3 - this is fine 3
- # Subtest: child test
+ # Subtest: child test
1..3
ok 1 - this is fine 4
ok 2 - this is fine 5
diff --git a/test/test/timeout-via-runner-ignore-sigterm-bail.tap b/test/test/timeout-via-runner-ignore-sigterm-bail.tap
index daa0bfb..f048b8b 100644
--- a/test/test/timeout-via-runner-ignore-sigterm-bail.tap
+++ b/test/test/timeout-via-runner-ignore-sigterm-bail.tap
@@ -1,9 +1,9 @@
TAP version 13
-# Subtest: child
+ # Subtest: child
ok 1 - this is fine 1
ok 2 - this is fine 2
ok 3 - this is fine 3
- # Subtest: child test
+ # Subtest: child test
1..3
ok 1 - this is fine 4
ok 2 - this is fine 5
diff --git a/test/test/timeout-via-runner-ignore-sigterm.tap b/test/test/timeout-via-runner-ignore-sigterm.tap
index dcd20e7..e70b2ca 100644
--- a/test/test/timeout-via-runner-ignore-sigterm.tap
+++ b/test/test/timeout-via-runner-ignore-sigterm.tap
@@ -1,9 +1,9 @@
TAP version 13
-# Subtest: child
+ # Subtest: child
ok 1 - this is fine 1
ok 2 - this is fine 2
ok 3 - this is fine 3
- # Subtest: child test
+ # Subtest: child test
1..3
ok 1 - this is fine 4
ok 2 - this is fine 5
diff --git a/test/test/timeout-via-runner-no-plan-bail.tap b/test/test/timeout-via-runner-no-plan-bail.tap
index e13f28e..1e3f539 100644
--- a/test/test/timeout-via-runner-no-plan-bail.tap
+++ b/test/test/timeout-via-runner-no-plan-bail.tap
@@ -1,9 +1,9 @@
TAP version 13
-# Subtest: child
+ # Subtest: child
ok 1 - this is fine 1
ok 2 - this is fine 2
ok 3 - this is fine 3
- # Subtest: child test
+ # Subtest: child test
ok 1 - this is fine 4
ok 2 - this is fine 5
not ok 3 - timeout!
diff --git a/test/test/timeout-via-runner-no-plan.tap b/test/test/timeout-via-runner-no-plan.tap
index a5cc2f4..0d13ce4 100644
--- a/test/test/timeout-via-runner-no-plan.tap
+++ b/test/test/timeout-via-runner-no-plan.tap
@@ -1,9 +1,9 @@
TAP version 13
-# Subtest: child
+ # Subtest: child
ok 1 - this is fine 1
ok 2 - this is fine 2
ok 3 - this is fine 3
- # Subtest: child test
+ # Subtest: child test
ok 1 - this is fine 4
ok 2 - this is fine 5
not ok 3 - timeout!
diff --git a/test/test/timeout-via-runner.tap b/test/test/timeout-via-runner.tap
index 007fb13..e4a7237 100644
--- a/test/test/timeout-via-runner.tap
+++ b/test/test/timeout-via-runner.tap
@@ -1,9 +1,9 @@
TAP version 13
-# Subtest: child
+ # Subtest: child
ok 1 - this is fine 1
ok 2 - this is fine 2
ok 3 - this is fine 3
- # Subtest: child test
+ # Subtest: child test
1..3
ok 1 - this is fine 4
ok 2 - this is fine 5
diff --git a/test/test/timeout.tap b/test/test/timeout.tap
index 9492b30..3a19fb9 100644
--- a/test/test/timeout.tap
+++ b/test/test/timeout.tap
@@ -1,8 +1,8 @@
TAP version 13
-# Subtest: parent of timeout test
- # Subtest: timeout test
- # Subtest: this never completes
- # Subtest: baby
+ # Subtest: parent of timeout test
+ # Subtest: timeout test
+ # Subtest: this never completes
+ # Subtest: baby
ok 1 - expect truthy value
not ok 2 - timeout!
---
diff --git a/test/test/todo-bail.tap b/test/test/todo-bail.tap
index f1bdb3a..d753ebd 100644
--- a/test/test/todo-bail.tap
+++ b/test/test/todo-bail.tap
@@ -1,11 +1,11 @@
TAP version 13
-# Subtest: a set of tests to be done later
+ # Subtest: a set of tests to be done later
ok 1 - should have a thingie # TODO
ok 2 - should have a second whoosits also # TODO
- # Subtest: the subset
+ # Subtest: the subset
ok 1 - should be a child thingie # TODO
ok 2 - should also be a whoosits # TODO
- # Subtest: has some of these things
+ # Subtest: has some of these things
ok 1 - true is truthy
ok 2 - ten is also truthy
1..2
@@ -18,7 +18,7 @@ TAP version 13
ok 1 - a set of tests to be done later ___/# time=[0-9.]+(ms)?/~~~
ok 2 - (unnamed test) # TODO
-# Subtest: another set of tests
+ # Subtest: another set of tests
ok 1 - is a second set # TODO
ok 2 - looks like english # TODO
ok 3 - is marked TODO # TODO
diff --git a/test/test/todo.tap b/test/test/todo.tap
index f1bdb3a..d753ebd 100644
--- a/test/test/todo.tap
+++ b/test/test/todo.tap
@@ -1,11 +1,11 @@
TAP version 13
-# Subtest: a set of tests to be done later
+ # Subtest: a set of tests to be done later
ok 1 - should have a thingie # TODO
ok 2 - should have a second whoosits also # TODO
- # Subtest: the subset
+ # Subtest: the subset
ok 1 - should be a child thingie # TODO
ok 2 - should also be a whoosits # TODO
- # Subtest: has some of these things
+ # Subtest: has some of these things
ok 1 - true is truthy
ok 2 - ten is also truthy
1..2
@@ -18,7 +18,7 @@ TAP version 13
ok 1 - a set of tests to be done later ___/# time=[0-9.]+(ms)?/~~~
ok 2 - (unnamed test) # TODO
-# Subtest: another set of tests
+ # Subtest: another set of tests
ok 1 - is a second set # TODO
ok 2 - looks like english # TODO
ok 3 - is marked TODO # TODO
diff --git a/test/test/unfinished-bail.tap b/test/test/unfinished-bail.tap
index 981ff88..8fa635d 100644
--- a/test/test/unfinished-bail.tap
+++ b/test/test/unfinished-bail.tap
@@ -1,6 +1,6 @@
TAP version 13
-# Subtest: t1
- # Subtest: t11
+ # Subtest: t1
+ # Subtest: t11
1..1
not ok 1 - test unfinished: t11
---
diff --git a/test/test/unfinished.tap b/test/test/unfinished.tap
index 35b8ef2..aa2fa6e 100644
--- a/test/test/unfinished.tap
+++ b/test/test/unfinished.tap
@@ -1,6 +1,6 @@
TAP version 13
-# Subtest: t1
- # Subtest: t11
+ # Subtest: t1
+ # Subtest: t11
1..1
not ok 1 - test unfinished: t11
---
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-tap.git
More information about the Pkg-javascript-commits
mailing list