mirror of
https://github.com/sstephenson/bats.git
synced 2024-12-26 06:29:47 +01:00
Don't need duplicate tests for skip
This commit is contained in:
parent
8873aab79f
commit
b0606bc8cd
|
@ -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" ]
|
||||
|
|
Loading…
Reference in New Issue
Block a user