From 4a71d778137a58ce698f9b9964aef3d224e79843 Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Wed, 28 Dec 2011 17:12:17 -0600 Subject: [PATCH] Shorten test names --- test/bats.bats | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 test/bats.bats diff --git a/test/bats.bats b/test/bats.bats old mode 100644 new mode 100755 index 1db9109..bcab33f --- a/test/bats.bats +++ b/test/bats.bats @@ -2,19 +2,19 @@ FIXTURE_ROOT="$BATS_TEST_DIRNAME/fixtures" -@test "running 'bats' with no arguments prints usage instructions" { +@test "no arguments prints usage instructions" { run bats [[ $status -eq 1 ]] [[ $output =~ ^usage: ]] } -@test "running 'bats' with an invalid filename prints an error" { +@test "invalid filename prints an error" { run bats nonexistent [[ $status -eq 1 ]] [[ $output =~ does\ not\ exist ]] } -@test "running 'bats' with an empty test file runs zero tests" { +@test "empty test file runs zero tests" { run bats "$FIXTURE_ROOT/empty.bats" [[ $status -eq 0 ]] [[ $output = "1..0" ]]