X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft7103-reset-bare.sh;h=42bf518c68e6ef07c8be1af714723b2f900a573c;hb=9a62d72dfa833f98dd0730b3d5136f56d637a5c3;hp=b25a77f910fcdd589775ce901bdf878c23677dd4;hpb=77ad7a49d3cc946487ca759e5361effbcfb03be5;p=git.git diff --git a/t/t7103-reset-bare.sh b/t/t7103-reset-bare.sh index b25a77f91..42bf518c6 100755 --- a/t/t7103-reset-bare.sh +++ b/t/t7103-reset-bare.sh @@ -1,6 +1,6 @@ #!/bin/sh -test_description='git-reset in a bare repository' +test_description='git reset in a bare repository' . ./test-lib.sh test_expect_success 'setup non-bare' ' @@ -17,7 +17,7 @@ test_expect_success 'setup bare' ' ' test_expect_success 'hard reset is not allowed' ' - ! git reset --hard HEAD^ + test_must_fail git reset --hard HEAD^ ' test_expect_success 'soft reset is allowed' '