mirror of
https://github.com/git/git.git
synced 2024-10-30 13:57:54 +01:00
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>
This commit is contained in:
parent
76642ccec8
commit
b1f5b7839c
1 changed files with 1 additions and 1 deletions
|
@ -527,7 +527,7 @@ test_expect_success 'am empty-file does not infloop' '
|
|||
test_tick &&
|
||||
{ git am empty-file > actual 2>&1 && false || :; } &&
|
||||
echo Patch format detection failed. >expected &&
|
||||
test_cmp expected actual
|
||||
test_i18ncmp expected actual
|
||||
'
|
||||
|
||||
test_done
|
||||
|
|
Loading…
Reference in a new issue