X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=t%2Ft1302-repo-version.sh;h=8d305b43725f8cf60e7ee802df1923feb98eeae5;hb=8f81449e885ab2b9bac09b5b835314d26f107b3f;hp=9be0770e7627ee094349af85b0d4702e156ff6cd;hpb=77599cc0bbd0a08defc3bfa80ca52d931d8dc786;p=git.git diff --git a/t/t1302-repo-version.sh b/t/t1302-repo-version.sh index 9be0770e7..8d305b437 100755 --- a/t/t1302-repo-version.sh +++ b/t/t1302-repo-version.sh @@ -41,7 +41,7 @@ test_expect_success 'gitdir required mode on normal repos' ' cd test && git apply --check --index ../test.patch)' test_expect_success 'gitdir required mode on unsupported repo' ' - (cd test2 && ! git apply --check --index ../test.patch) + (cd test2 && test_must_fail git apply --check --index ../test.patch) ' test_done