config: work around bug with includeif:onbranch and early config
[gitweb.git] / t / t4011-diff-symlink.sh
index 108c012a3a66d900cbbfcda04ac2dfe5ffeb6362..5ae19b987d65d081b78c10f5eefd8aaf930c97a8 100755 (executable)
@@ -126,7 +126,7 @@ test_expect_success SYMLINKS 'diff symlinks with non-existing targets' '
        ln -s take\ over brain &&
        test_must_fail git diff --no-index pinky brain >output 2>output.err &&
        grep narf output &&
-       ! test -s output.err
+       test_must_be_empty output.err
 '
 
 test_expect_success SYMLINKS 'setup symlinks with attributes' '