t1512: become resilient to GETTEXT_POISON build
authorVasco Almeida <vascomalmeida@sapo.pt>
Wed, 12 Oct 2016 12:25:33 +0000 (12:25 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Oct 2016 17:39:01 +0000 (10:39 -0700)
The concerned message was marked for translation by 0c99171
("get_short_sha1: mark ambiguity error for translation", 2016-09-26).

Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1512-rev-parse-disambiguation.sh
index 7c659eb5852e986dc5605e082f773e68e746c789..711704ba5a052b15d94ff1ce958ada3fb86530a9 100755 (executable)
@@ -42,7 +42,7 @@ test_expect_success 'blob and tree' '
 
 test_expect_success 'warn ambiguity when no candidate matches type hint' '
        test_must_fail git rev-parse --verify 000000000^{commit} 2>actual &&
-       grep "short SHA1 000000000 is ambiguous" actual
+       test_i18ngrep "short SHA1 000000000 is ambiguous" actual
 '
 
 test_expect_success 'disambiguate tree-ish' '