summaryrefslogtreecommitdiff
path: root/t/t1000-checkout-cache.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t1000-checkout-cache.sh')
-rwxr-xr-xt/t1000-checkout-cache.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/t/t1000-checkout-cache.sh b/t/t1000-checkout-cache.sh
index c10b6be0f9..a2c42602da 100755
--- a/t/t1000-checkout-cache.sh
+++ b/t/t1000-checkout-cache.sh
@@ -44,12 +44,9 @@ test_expect_success \
'git-checkout-cache with -f should succeed.' \
'git-checkout-cache -f -a'
-if test -f path0 && test -d path1 && test -f path1/file1
-then
- test_ok "checkout successful"
-else
- test_failure "checkout failed"
-fi
+test_expect_success \
+ 'git-checkout-cache conflicting paths.' \
+ 'test -f path0 && test -d path1 && test -f path1/file1'
test_done