test: use test_i18ncmp for "Patch format detection failed" message
commitb1f5b7839c3bce2accda8b70e03ccc62ad778dd9
authorJonathan Nieder <jrnieder@gmail.com>
Sat, 14 Apr 2012 04:46:18 +0000 (13 23:46 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sat, 14 Apr 2012 23:17:08 +0000 (14 16:17 -0700)
tree6346f481e6f124fdccfe5b4135404f33094c014d
parent76642ccec813a1cc2ca1bf9539abeb5f17764808
test: use test_i18ncmp for "Patch format detection failed" message

v1.7.8.5~2 (am: don't infloop for an empty input file, 2012-02-25)
added a check for the human-readable message "Patch format detection
failed." but we forgot to suppress that check when running tests with
git configured to write output in another language.

Noticed by running tests with GETTEXT_POISON=YesPlease.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4150-am.sh