X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=t%2Ft4113-apply-ending.sh;h=66fa51591eb7ee8f102fd86e30e54af2da3ea310;hb=0b05dc2b7e929996afa3f325cce593585f3ec9b3;hp=d74103988201b0c189e7a2564bfb0894e434c056;hpb=53b22a9e45161004ff3260782abc4ee2a5b3e730;p=git.git diff --git a/t/t4113-apply-ending.sh b/t/t4113-apply-ending.sh index d74103988..66fa51591 100755 --- a/t/t4113-apply-ending.sh +++ b/t/t4113-apply-ending.sh @@ -30,7 +30,7 @@ test_expect_success setup \ # test test_expect_success 'apply at the end' \ - '! git apply --index test-patch' + 'test_must_fail git apply --index test-patch' cat >test-patch <<\EOF diff a/file b/file @@ -48,6 +48,6 @@ c' git update-index file test_expect_success 'apply at the beginning' \ - '! git apply --index test-patch' + 'test_must_fail git apply --index test-patch' test_done