1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
TAP version 13
not ok 1 - nesting ___/# time=[0-9.]+(ms)?/~~~ {
1..2
ok 1 - first ___/# time=[0-9.]+(ms)?/~~~ {
1..2
ok 1 - true is ok
ok 2 - doag is also okay
}
not ok 2 - second ___/# time=[0-9.]+(ms)?/~~~ {
ok 1 - but that is ok
ok 2 - this passes
not ok 3 - nested failure
---
{"at":{"column":10,"file":"test-legacy/test/nesting.js","line":14},"compare":"===","found":1,"source":"tt.equal(1, '1', 'nested failure')\n","wanted":"1"}
...
1..3
# failed 1 of 3 tests
}
# failed 1 of 2 tests
}
ok 2 - this passes
not ok 3 - this fails
---
{"at":{"column":3,"file":"test-legacy/test/nesting.js","line":28},"source":"t.fail('this fails')\n"}
...
not ok 4 - async kid ___/# time=[0-9.]+(ms)?/~~~ {
1..2
ok 1 - second timeout
not ok 2 - first timeout
---
{"at":{"column":7,"file":"test-legacy/test/nesting.js","line":33,"method":"_onTimeout"},"foo":"blz","source":"t.ok(false, 'first timeout', { foo: 'blz' })\n"}
...
# failed 1 of 2 tests
}
ok 5 - pass after async kid
1..5
# failed 3 of 5 tests
___/# time=[0-9.]+(ms)?/~~~
|