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
@ -39,13 +39,13 @@ test_expect_success '--stat output after text chmod' '
|
||||
1 file changed, 0 insertions(+), 0 deletions(-)
|
||||
EOF
|
||||
git diff HEAD --stat >actual &&
|
||||
test_i18ncmp expect actual
|
||||
test_cmp expect actual
|
||||
'
|
||||
|
||||
test_expect_success '--shortstat output after text chmod' '
|
||||
tail -n 1 <expect >expect.short &&
|
||||
git diff HEAD --shortstat >actual &&
|
||||
test_i18ncmp expect.short actual
|
||||
test_cmp expect.short actual
|
||||
'
|
||||
|
||||
test_expect_success '--stat output after binary chmod' '
|
||||
@ -56,13 +56,13 @@ test_expect_success '--stat output after binary chmod' '
|
||||
2 files changed, 0 insertions(+), 0 deletions(-)
|
||||
EOF
|
||||
git diff HEAD --stat >actual &&
|
||||
test_i18ncmp expect actual
|
||||
test_cmp expect actual
|
||||
'
|
||||
|
||||
test_expect_success '--shortstat output after binary chmod' '
|
||||
tail -n 1 <expect >expect.short &&
|
||||
git diff HEAD --shortstat >actual &&
|
||||
test_i18ncmp expect.short actual
|
||||
test_cmp expect.short actual
|
||||
'
|
||||
|
||||
test_done
|
||||
|
Reference in New Issue
Block a user