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
@ -95,7 +95,7 @@ test_expect_success 'test --parseopt help output' '
|
||||
|EOF
|
||||
END_EXPECT
|
||||
test_expect_code 129 git rev-parse --parseopt -- -h > output < optionspec &&
|
||||
test_i18ncmp expect output
|
||||
test_cmp expect output
|
||||
'
|
||||
|
||||
test_expect_success 'test --parseopt help output no switches' '
|
||||
@ -108,7 +108,7 @@ test_expect_success 'test --parseopt help output no switches' '
|
||||
|EOF
|
||||
END_EXPECT
|
||||
test_expect_code 129 git rev-parse --parseopt -- -h > output < optionspec_no_switches &&
|
||||
test_i18ncmp expect output
|
||||
test_cmp expect output
|
||||
'
|
||||
|
||||
test_expect_success 'test --parseopt help output hidden switches' '
|
||||
@ -121,7 +121,7 @@ test_expect_success 'test --parseopt help output hidden switches' '
|
||||
|EOF
|
||||
END_EXPECT
|
||||
test_expect_code 129 git rev-parse --parseopt -- -h > output < optionspec_only_hidden_switches &&
|
||||
test_i18ncmp expect output
|
||||
test_cmp expect output
|
||||
'
|
||||
|
||||
test_expect_success 'test --parseopt help-all output hidden switches' '
|
||||
@ -136,7 +136,7 @@ test_expect_success 'test --parseopt help-all output hidden switches' '
|
||||
|EOF
|
||||
END_EXPECT
|
||||
test_expect_code 129 git rev-parse --parseopt -- --help-all > output < optionspec_only_hidden_switches &&
|
||||
test_i18ncmp expect output
|
||||
test_cmp expect output
|
||||
'
|
||||
|
||||
test_expect_success 'test --parseopt invalid switch help output' '
|
||||
@ -176,7 +176,7 @@ test_expect_success 'test --parseopt invalid switch help output' '
|
||||
|
|
||||
END_EXPECT
|
||||
test_expect_code 129 git rev-parse --parseopt -- --does-not-exist 1>/dev/null 2>output < optionspec &&
|
||||
test_i18ncmp expect output
|
||||
test_cmp expect output
|
||||
'
|
||||
|
||||
test_expect_success 'setup expect.1' "
|
||||
|
Reference in New Issue
Block a user