t3420: fix under GETTEXT_POISON build
Newly added tests to t3420 in this series prepare expected human-readable output from "git rebase -i" and then compare the actual output with it. As the output from the command is designed to go through i18n/l10n, we need to use test_i18ncmp to tell GETTEXT_POISON build that it is OK the output does not match. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Jun 23, 2017 at 11:56 UTC
adf16c08cb966be9c03e6f5b5b7614f617f81b95
1 file changed
+2
-2
t/t3420-rebase-autostash.sh
+2
-2
@@ -178,7 +178,7 @@ testrebase () {
178
test_when_finished git branch -D rebased-feature-branch &&
179
suffix=${type#\ --} && suffix=${suffix:-am} &&
180
create_expected_success_$suffix &&
181
- test_cmp expected actual
181
+ test_i18ncmp expected actual
182
'
183
184
test_expect_success "rebase$type: dirty index, non-conflicting rebase" '
@@ -275,7 +275,7 @@ testrebase () {
275
test_when_finished git branch -D rebased-feature-branch &&
276
suffix=${type#\ --} && suffix=${suffix:-am} &&
277
create_expected_failure_$suffix &&
278
- test_cmp expected actual
278
+ test_i18ncmp expected actual
279
'
280
}
281