Browse Source

t/t7508-status.sh: use test_i18ncmp

Change a i18n-specific comparison in t/t7508-status.sh to use
test_i18ncmp instead. This was introduced in v1.7.6.3~11^2 and has
been broken under GETTEXT_POISON=YesPlease since.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Ævar Arnfjörð Bjarmason 13 years ago committed by Junio C Hamano
parent
commit
ca0f515d75
  1. 4
      t/t7508-status.sh

4
t/t7508-status.sh

@ -189,7 +189,7 @@ test_expect_success 'status with gitignore' '
# untracked # untracked
EOF EOF
git status --ignored >output && git status --ignored >output &&
test_cmp expect output test_i18ncmp expect output
' '


test_expect_success 'status with gitignore (nothing untracked)' ' test_expect_success 'status with gitignore (nothing untracked)' '
@ -247,7 +247,7 @@ test_expect_success 'status with gitignore (nothing untracked)' '
# untracked # untracked
EOF EOF
git status --ignored >output && git status --ignored >output &&
test_cmp expect output test_i18ncmp expect output
' '


rm -f .gitignore rm -f .gitignore

Loading…
Cancel
Save