]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t4211-line-log.sh
tests: use 'test_must_be_empty' instead of 'test ! -s'
[thirdparty/git.git] / t / t4211-line-log.sh
index d0377fae5c832bcd4df37f3bc2ab4a8708f70251..6e378b23c797a83e2553594b00bec5b90b5aefe0 100755 (executable)
@@ -102,7 +102,7 @@ test_expect_success '-L with --first-parent and a merge' '
 test_expect_success '-L with --output' '
        git checkout parallel-change &&
        git log --output=log -L :main:b.c >output &&
-       test ! -s output &&
+       test_must_be_empty output &&
        test_line_count = 70 log
 '