mirror of
https://github.com/sstephenson/bats.git
synced 2026-02-25 09:18:10 +01:00
7
test/fixtures/bats/failing_setup.bats
vendored
Normal file
7
test/fixtures/bats/failing_setup.bats
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
setup() {
|
||||
false
|
||||
}
|
||||
|
||||
@test "truth" {
|
||||
true
|
||||
}
|
||||
7
test/fixtures/bats/failing_teardown.bats
vendored
Normal file
7
test/fixtures/bats/failing_teardown.bats
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
teardown() {
|
||||
false
|
||||
}
|
||||
|
||||
@test "truth" {
|
||||
[ "$PASS" = "1" ]
|
||||
}
|
||||
Reference in New Issue
Block a user