1
0
mirror of https://github.com/sstephenson/bats.git synced 2024-09-29 12:38:26 +02:00

Don't need duplicate tests for skip

This commit is contained in:
Sam Stephenson 2013-10-21 11:32:36 -05:00
parent 8873aab79f
commit b0606bc8cd

View File

@ -111,19 +111,7 @@ fixtures bats
[ $status -eq 0 ]
}
@test "a skipped test" {
skip
run bats
[ $status -eq 0 ]
}
@test "a skipped test with a reason" {
skip "a reason for skipping"
run bats
[ $status -eq 0 ]
}
@test "skipped test output" {
@test "skipped tests" {
run bats "$FIXTURE_ROOT/skipped.bats"
[ $status -eq 0 ]
[ "${lines[1]}" = "ok 1 # skip a skipped test" ]