summaryrefslogtreecommitdiff
path: root/t/t4151-am-abort.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-05-17 21:38:26 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-05-17 21:38:26 (GMT)
commitd130bf4bfd9c5979c5c4e9f7f10e6e1e6eaf0607 (patch)
tree2e61b579dcb88167f338448359437cf2abcf52ab /t/t4151-am-abort.sh
parente059388fb200fb2b5281ce211242ef3525a9c2c7 (diff)
parent2bb051861731a0d8d2a79d0b36857d877f18e476 (diff)
downloadgit-d130bf4bfd9c5979c5c4e9f7f10e6e1e6eaf0607.zip
git-d130bf4bfd9c5979c5c4e9f7f10e6e1e6eaf0607.tar.gz
git-d130bf4bfd9c5979c5c4e9f7f10e6e1e6eaf0607.tar.bz2
Merge branch 'ak/t4151-ls-files-could-be-empty'
Test fix. * ak/t4151-ls-files-could-be-empty: t4151: make sure argument to 'test -z' is given
Diffstat (limited to 't/t4151-am-abort.sh')
-rwxr-xr-xt/t4151-am-abort.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4151-am-abort.sh b/t/t4151-am-abort.sh
index ea5ace9..9473c27 100755
--- a/t/t4151-am-abort.sh
+++ b/t/t4151-am-abort.sh
@@ -82,7 +82,7 @@ test_expect_success 'am -3 --abort removes otherfile-4' '
test 4 = "$(cat otherfile-4)" &&
git am --abort &&
test_cmp_rev initial HEAD &&
- test -z $(git ls-files -u) &&
+ test -z "$(git ls-files -u)" &&
test_path_is_missing otherfile-4
'