Skip to content

Commit e8c7b8c

Browse files
committed
Merge branch 'ak/t4151-ls-files-could-be-empty' into maint
Test fix. * ak/t4151-ls-files-could-be-empty: t4151: make sure argument to 'test -z' is given
2 parents 6de6aba + 2bb0518 commit e8c7b8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t4151-am-abort.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ test_expect_success 'am -3 --abort removes otherfile-4' '
8282
test 4 = "$(cat otherfile-4)" &&
8383
git am --abort &&
8484
test_cmp_rev initial HEAD &&
85-
test -z $(git ls-files -u) &&
85+
test -z "$(git ls-files -u)" &&
8686
test_path_is_missing otherfile-4
8787
'
8888

0 commit comments

Comments
 (0)