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>

Jonathan Nieder committed Apr 13, 2012 at 23:46 UTC b1f5b7839c3bce2accda8b70e03ccc62ad778dd9
1 file changed +1 -1
t/t4150-am.sh
+1 -1
@@ -527,7 +527,7 @@ test_expect_success 'am empty-file does not infloop' '
527 test_tick &&
528 { git am empty-file > actual 2>&1 && false || :; } &&
529 echo Patch format detection failed. >expected &&
530 - test_cmp expected actual
530 + test_i18ncmp expected actual
531 '
532
533 test_done