Skip to content

Commit ba9eab7

Browse files
jonseymourgitster
authored andcommitted
t1503: fix broken test_must_fail calls
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9c46c05 commit ba9eab7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t1503-rev-parse-verify.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ test_expect_success 'master@{n} for various n' '
111111
git rev-parse --verify master@{0} &&
112112
git rev-parse --verify master@{1} &&
113113
git rev-parse --verify master@{$Nm1} &&
114-
test_must_fail "git rev-parse --verify master@{$N}" &&
115-
test_must_fail "git rev-parse --verify master@{$Np1}"
114+
test_must_fail git rev-parse --verify master@{$N} &&
115+
test_must_fail git rev-parse --verify master@{$Np1}
116116
'
117117

118118
test_done

0 commit comments

Comments
 (0)