Fix typo in comment in builtin-add.c
[gitweb.git] / t / t3600-rm.sh
index 5b4d6f71387ce7f30cb7ee6b596357aa1942ab6e..b7d46e50a87f2609e67f595470021450b1f838a6 100755 (executable)
@@ -187,8 +187,8 @@ test_expect_success 'but with -f it should work.' '
        test_must_fail git ls-files --error-unmatch baz
 '
 
-test_expect_failure 'refuse to remove cached empty file with modifications' '
-       touch empty &&
+test_expect_success 'refuse to remove cached empty file with modifications' '
+       >empty &&
        git add empty &&
        echo content >empty &&
        test_must_fail git rm --cached empty