Skip to content

Commit

Permalink
t1503: fix broken test_must_fail calls
Browse files Browse the repository at this point in the history
Some tests in maint-reflog-beyond-horizon are calling test_must_fail
in such a way that the arguments to test_must_fail do, indeed, fail
but not in the manner expected by the test.

This patch removes the unnecessary and unhelpful double quotes.

Signed-off-by: Jon Seymour <jon.seymour@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Jon Seymour authored and Junio C Hamano committed Aug 31, 2010
1 parent 9c46c05 commit ba9eab7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/t1503-rev-parse-verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ test_expect_success 'master@{n} for various n' '
git rev-parse --verify master@{0} &&
git rev-parse --verify master@{1} &&
git rev-parse --verify master@{$Nm1} &&
test_must_fail "git rev-parse --verify master@{$N}" &&
test_must_fail "git rev-parse --verify master@{$Np1}"
test_must_fail git rev-parse --verify master@{$N} &&
test_must_fail git rev-parse --verify master@{$Np1}
'

test_done

0 comments on commit ba9eab7

Please sign in to comment.