From: Jon Seymour Date: Tue, 31 Aug 2010 14:49:19 +0000 (+1000) Subject: t1503: fix broken test_must_fail calls X-Git-Tag: v1.7.3-rc0~4^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/ba9eab7bfdcb83ad67f4714507599f378a91b17a?ds=inline;hp=--cc 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 Signed-off-by: Junio C Hamano --- ba9eab7bfdcb83ad67f4714507599f378a91b17a diff --git a/t/t1503-rev-parse-verify.sh b/t/t1503-rev-parse-verify.sh index 61092f70f1..100f857b16 100755 --- a/t/t1503-rev-parse-verify.sh +++ b/t/t1503-rev-parse-verify.sh @@ -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