aboutsummaryrefslogtreecommitdiffstats
path: root/t/t4067-diff-partial-clone.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-05-20 05:35:56 +0900
committerJunio C Hamano <gitster@pobox.com>2023-05-20 05:35:56 +0900
commitdc3fd2486f4576a61570917c2ea6e165d380382d (patch)
treea8c76f81c7425665684dff02951cf17573edefe6 /t/t4067-diff-partial-clone.sh
parent1f141d6cb23b8b11be0412b96cd54fc867de7a2a (diff)
parentb126b65b3381cd8659552b39699b3b3d9a4f5393 (diff)
downloadgit-dc3fd2486f4576a61570917c2ea6e165d380382d.tar.gz
Merge branch 'jc/do-not-negate-test-helpers'
Small fixes. * jc/do-not-negate-test-helpers: test: do not negate test_path_is_* to assert absense t2021: do not negate test_path_is_dir tests: do not negate test_path_exists
Diffstat (limited to 't/t4067-diff-partial-clone.sh')
-rwxr-xr-xt/t4067-diff-partial-clone.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t4067-diff-partial-clone.sh b/t/t4067-diff-partial-clone.sh
index f60f5cbd65..7af3a08862 100755
--- a/t/t4067-diff-partial-clone.sh
+++ b/t/t4067-diff-partial-clone.sh
@@ -151,7 +151,7 @@ test_expect_success 'diff does not fetch anything if inexact rename detection is
# Ensure no fetches.
GIT_TRACE_PACKET="$(pwd)/trace" git -C client diff --raw -M HEAD^ HEAD &&
- ! test_path_exists trace
+ test_path_is_missing trace
'
test_expect_success 'diff --break-rewrites fetches only if necessary, and batches blobs if it does' '
@@ -171,7 +171,7 @@ test_expect_success 'diff --break-rewrites fetches only if necessary, and batche
# Ensure no fetches.
GIT_TRACE_PACKET="$(pwd)/trace" git -C client diff --raw -M HEAD^ HEAD &&
- ! test_path_exists trace &&
+ test_path_is_missing trace &&
# But with --break-rewrites, ensure that there is exactly 1 negotiation
# by checking that there is only 1 "done" line sent. ("done" marks the