From b0606bc8cd2429890d42250c0b4ed81570e0ed30 Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Mon, 21 Oct 2013 11:32:36 -0500 Subject: [PATCH] Don't need duplicate tests for skip --- test/bats.bats | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/test/bats.bats b/test/bats.bats index f794a74..6747968 100755 --- a/test/bats.bats +++ b/test/bats.bats @@ -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" ]