1
0
mirror of https://github.com/sstephenson/bats.git synced 2026-02-25 09:18:10 +01:00

Print the failing status code, if it's significant

This commit is contained in:
Sam Stephenson
2014-08-12 16:22:43 -05:00
parent 81be444b3b
commit 716d2d62ed
4 changed files with 31 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
@test "a failing test" {
true
true
false
eval "( exit ${STATUS:-1} )"
}

View File

@@ -1,5 +1,5 @@
teardown() {
false
eval "( exit ${STATUS:-1} )"
}
@test "truth" {