mirror of
https://github.com/git/git.git
synced 2026-01-10 10:13:33 +00:00
tests: remove most uses of test_i18ncmp
As a follow-up to d162b25f95 (tests: remove support for
GIT_TEST_GETTEXT_POISON, 2021-01-20) remove most uses of test_i18ncmp
via a simple s/test_i18ncmp/test_cmp/g search-replacement.
I'm leaving t6300-for-each-ref.sh out due to a conflict with in-flight
changes between "master" and "seen", as well as the prerequisite
itself due to other changes between "master" and "next/seen" which add
new test_i18ncmp uses.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
b1e079807b
commit
1108cea7f8
@@ -59,7 +59,7 @@ test_expect_success 'advice from failed cherry-pick' "
|
||||
EOF
|
||||
test_must_fail git cherry-pick picked 2>actual &&
|
||||
|
||||
test_i18ncmp expected actual
|
||||
test_cmp expected actual
|
||||
"
|
||||
|
||||
test_expect_success 'advice from failed cherry-pick --no-commit' "
|
||||
@@ -73,7 +73,7 @@ test_expect_success 'advice from failed cherry-pick --no-commit' "
|
||||
EOF
|
||||
test_must_fail git cherry-pick --no-commit picked 2>actual &&
|
||||
|
||||
test_i18ncmp expected actual
|
||||
test_cmp expected actual
|
||||
"
|
||||
|
||||
test_expect_success 'failed cherry-pick sets CHERRY_PICK_HEAD' '
|
||||
@@ -256,7 +256,7 @@ test_expect_success \
|
||||
|
||||
test_must_fail git cherry-pick picked &&
|
||||
|
||||
test_i18ncmp expected .git/MERGE_MSG
|
||||
test_cmp expected .git/MERGE_MSG
|
||||
'
|
||||
|
||||
test_expect_success \
|
||||
@@ -276,7 +276,7 @@ test_expect_success \
|
||||
|
||||
test_must_fail git cherry-pick --cleanup=scissors picked &&
|
||||
|
||||
test_i18ncmp expected .git/MERGE_MSG
|
||||
test_cmp expected .git/MERGE_MSG
|
||||
'
|
||||
|
||||
test_expect_success 'failed cherry-pick describes conflict in work tree' '
|
||||
@@ -465,7 +465,7 @@ test_expect_success \
|
||||
test_must_fail git revert picked &&
|
||||
|
||||
sed "s/$OID_REGEX/OBJID/" .git/MERGE_MSG >actual &&
|
||||
test_i18ncmp expected actual
|
||||
test_cmp expected actual
|
||||
'
|
||||
|
||||
test_expect_success \
|
||||
@@ -488,7 +488,7 @@ test_expect_success \
|
||||
test_must_fail git revert --cleanup=scissors picked &&
|
||||
|
||||
sed "s/$OID_REGEX/OBJID/" .git/MERGE_MSG >actual &&
|
||||
test_i18ncmp expected actual
|
||||
test_cmp expected actual
|
||||
'
|
||||
|
||||
test_expect_success 'failed cherry-pick does not forget -s' '
|
||||
|
||||
Reference in New Issue
Block a user