doc: promote "git restore"
[gitweb.git] / t / t9802-git-p4-filetype.sh
index 1fc9b33aeb5f095816fba72e85c94f0455994418..9978352d7828dbd63d44d172b91193a20291c4d1 100755 (executable)
@@ -310,7 +310,7 @@ test_expect_success SYMLINKS 'empty symlink target' '
                # p4 to sync here will make it generate errors.
                cd "$cli" &&
                p4 print -q //depot/empty-symlink#2 >out &&
-               test ! -s out
+               test_must_be_empty out
        ) &&
        test_when_finished cleanup_git &&