Skip to content

Commit

Permalink
t/t7508-status.sh: use test_i18ncmp
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ævar Arnfjörð Bjarmason authored and Junio C Hamano committed Nov 6, 2011
1 parent 475b377 commit ca0f515
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/t7508-status.sh
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ test_expect_success 'status with gitignore' '
# untracked
EOF
git status --ignored >output &&
test_cmp expect output
test_i18ncmp expect output
'

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

rm -f .gitignore
Expand Down

0 comments on commit ca0f515

Please sign in to comment.