aboutsummaryrefslogtreecommitdiffstats
path: root/t/t7810-grep.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t7810-grep.sh')
-rwxr-xr-xt/t7810-grep.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7810-grep.sh b/t/t7810-grep.sh
index fc44ec96aa..825da1404a 100755
--- a/t/t7810-grep.sh
+++ b/t/t7810-grep.sh
@@ -941,7 +941,7 @@ test_expect_success 'grep from a subdirectory to search wider area (2)' '
(
cd s || exit 1
( git grep xxyyzz .. >out ; echo $? >status )
- ! test -s out &&
+ test_must_be_empty out &&
test 1 = $(cat status)
)
'