aboutsummaryrefslogtreecommitdiffstats
path: root/t/lib-submodule-update.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/lib-submodule-update.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/lib-submodule-update.sh')
-rw-r--r--t/lib-submodule-update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/lib-submodule-update.sh b/t/lib-submodule-update.sh
index dee14992c5..9acb0d5d19 100644
--- a/t/lib-submodule-update.sh
+++ b/t/lib-submodule-update.sh
@@ -802,7 +802,7 @@ test_submodule_recursing_with_args_common () {
git branch -t no_submodule origin/no_submodule &&
$command no_submodule &&
test_superproject_content origin/no_submodule &&
- ! test_path_is_dir sub1 &&
+ test_path_is_missing sub1 &&
test_must_fail git config -f .git/modules/sub1/config core.worktree &&
test_must_fail git config -f .git/modules/sub1/modules/sub2/config core.worktree
)