Skip to content

Commit

Permalink
buffered versions of some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Dec 30, 2016
1 parent 951f7ba commit 81d35e1
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 0 deletions.
24 changes: 24 additions & 0 deletions test/test/bail-teardown-async-bail-buffer.tap
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
TAP version 13
ok 1 - foobar test {
1..0
___/# time=[0-9.]+(ms)?/~~~
}

not ok 2 - barfoo {
not ok 1 - barfoo2 {
not ok 1 - barf3 {
not ok 1 - b3rf {
Bail out! # teardown fail
}

Bail out! # teardown fail
}

Bail out! # teardown fail
}

Bail out! # teardown fail
}

Bail out! # teardown fail

24 changes: 24 additions & 0 deletions test/test/bail-teardown-async-buffer.tap
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
TAP version 13
ok 1 - foobar test {
1..0
___/# time=[0-9.]+(ms)?/~~~
}

not ok 2 - barfoo {
not ok 1 - barfoo2 {
not ok 1 - barf3 {
not ok 1 - b3rf {
Bail out! # teardown fail
}

Bail out! # teardown fail
}

Bail out! # teardown fail
}

Bail out! # teardown fail
}

Bail out! # teardown fail

4 changes: 4 additions & 0 deletions test/test/no-diags-bail-buffer.tap
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TAP version 13
not ok 1 - this is not ok
Bail out! # this is not ok

13 changes: 13 additions & 0 deletions test/test/no-diags-buffer.tap
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
TAP version 13
not ok 1 - this is not ok
not ok 2 - not ok subtest {
not ok 1 - diagnostics not ok
1..1
# failed 1 of 1 tests
___/# time=[0-9.]+(ms)?/~~~
}

1..2
# failed 2 of 2 tests
___/# time=[0-9.]+(ms)?/~~~

0 comments on commit 81d35e1

Please sign in to comment.