t4200: fix rerere test
The test used "diff-files -q" which is not about reporting if there is a difference at all. Instead, make sure that the path remains as conflicting in the index after rerere autoresolves it, as we will be adding rerere.autoupdate configuration with the next patch.
This commit is contained in:
parent
51e0d0a67b
commit
7f8365f894
@ -193,9 +193,9 @@ test_expect_success 'resolution was recorded properly' '
|
|||||||
echo Bello > file3 &&
|
echo Bello > file3 &&
|
||||||
git add file3 &&
|
git add file3 &&
|
||||||
git commit -m version2 &&
|
git commit -m version2 &&
|
||||||
! git merge fifth &&
|
test_must_fail git merge fifth &&
|
||||||
git diff-files -q &&
|
test Cello = "$(cat file3)" &&
|
||||||
test Cello = "$(cat file3)"
|
test 0 != $(git ls-files -u | wc -l)
|
||||||
'
|
'
|
||||||
|
|
||||||
test_done
|
test_done
|
||||||
|
Loading…
Reference in New Issue
Block a user