diff options
author | Vasco Almeida <vascomalmeida@sapo.pt> | 2016-06-17 22:21:08 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-06-18 00:45:48 +0200 |
commit | e5c1272c07eb5b70e2f785ff715a800f0e3f456e (patch) | |
tree | 2aad4cf9670bb3024d38ea1838ca01b35c345b8b /t/t3400-rebase.sh | |
parent | tests: use test_i18n* functions to suppress false positives (diff) | |
download | git-e5c1272c07eb5b70e2f785ff715a800f0e3f456e.tar.xz git-e5c1272c07eb5b70e2f785ff715a800f0e3f456e.zip |
tests: unpack-trees: update to use test_i18n* functions
Use functions test_i18ncmp and test_i18ngrep to successfully pass tests
running under GETTEXT_POISON.
The output strings compared to in these test were marked for translation
in ed47fdf ("i18n: unpack-trees: mark strings for translation",
2016-04-09) and later improved in 2e3926b ("i18n: unpack-trees: avoid
substituting only a verb in sentences", 2016-05-12).
Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3400-rebase.sh')
-rwxr-xr-x | t/t3400-rebase.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t3400-rebase.sh b/t/t3400-rebase.sh index 47b5682662..f5fd15e559 100755 --- a/t/t3400-rebase.sh +++ b/t/t3400-rebase.sh @@ -136,8 +136,8 @@ test_expect_success 'setup: recover' ' test_expect_success 'Show verbose error when HEAD could not be detached' ' >B && test_must_fail git rebase topic 2>output.err >output.out && - grep "The following untracked working tree files would be overwritten by checkout:" output.err && - grep B output.err + test_i18ngrep "The following untracked working tree files would be overwritten by checkout:" output.err && + test_i18ngrep B output.err ' rm -f B |