summaryrefslogtreecommitdiffstats
path: root/t/t0090-cache-tree.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-08-27 23:33:43 +0200
committerJunio C Hamano <gitster@pobox.com>2018-08-27 23:33:43 +0200
commit986c5181071ce3aac42d0aaeb7bd691a1a0bdf4a (patch)
tree4ef3f9805cfdbf3b4496cb720a94c138df034204 /t/t0090-cache-tree.sh
parentMerge branch 'rs/opt-updates' (diff)
parenttests: use 'test_must_be_empty' instead of 'test_cmp <empty> <out>' (diff)
downloadgit-986c5181071ce3aac42d0aaeb7bd691a1a0bdf4a.tar.xz
git-986c5181071ce3aac42d0aaeb7bd691a1a0bdf4a.zip
Merge branch 'sg/test-must-be-empty'
Test fixes. * sg/test-must-be-empty: tests: use 'test_must_be_empty' instead of 'test_cmp <empty> <out>' tests: use 'test_must_be_empty' instead of 'test_cmp /dev/null <out>' tests: use 'test_must_be_empty' instead of 'test ! -s' tests: use 'test_must_be_empty' instead of '! test -s'
Diffstat (limited to 't/t0090-cache-tree.sh')
-rwxr-xr-xt/t0090-cache-tree.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0090-cache-tree.sh b/t/t0090-cache-tree.sh
index 28ea93f509..7de40141ca 100755
--- a/t/t0090-cache-tree.sh
+++ b/t/t0090-cache-tree.sh
@@ -239,7 +239,7 @@ test_expect_success 'no phantom error when switching trees' '
>newdir/one &&
git add newdir/one &&
git checkout 2>errors &&
- ! test -s errors
+ test_must_be_empty errors
'
test_expect_success 'switching trees does not invalidate shared index' '