summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2020-08-10 22:29:10 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-08-10 15:59:00 -0700
commitbc29dffe5987d0cff9fd012b5105daa4b1a535bf (patch)
tree8b0f63bf629fb43f457937f1a242756c33ad7fe5 /t
parentCollect merge-related tests to t64xx (diff)
downloadtgif-bc29dffe5987d0cff9fd012b5105daa4b1a535bf.tar.xz
t6418: tighten delete/normalize conflict testcase
The testcase only required that the merge complete without conflict, without specifying what the correct resolution was. Since normalization changed this from a modify/delete to a not-modified/delete, the correct resolution is to have the file be removed at the end. Add a check for this resolution. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t6418-merge-text-auto.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t6418-merge-text-auto.sh b/t/t6418-merge-text-auto.sh
index 89c86d4e56..30983d18b1 100755
--- a/t/t6418-merge-text-auto.sh
+++ b/t/t6418-merge-text-auto.sh
@@ -197,7 +197,8 @@ test_expect_success 'Test delete/normalize conflict' '
git commit -m "remove file" &&
git checkout master &&
git reset --hard a^ &&
- git merge side
+ git merge side &&
+ test_path_is_missing file
'
test_done