diff options
author | Jiang Xin <worldhello.net@gmail.com> | 2012-08-27 07:36:55 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-08-27 18:26:30 +0200 |
commit | 9a0013819ea541cfa1102292d1fdceb30352c2c3 (patch) | |
tree | 00862b29ba21cb7f494a66d157c89856dc24fa1b /t/t3200-branch.sh | |
parent | Fix tests under GETTEXT_POISON on git-remote (diff) | |
download | git-9a0013819ea541cfa1102292d1fdceb30352c2c3.tar.xz git-9a0013819ea541cfa1102292d1fdceb30352c2c3.zip |
Fix tests under GETTEXT_POISON on parseopt
Use the i18n-specific test functions in test scripts for parseopt tests.
This issue was was introduced in v1.7.10.1-488-g54e6d:
54e6d i18n: parseopt: lookup help and argument translations when showing usage
and been broken under GETTEXT_POISON=YesPlease since.
Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3200-branch.sh')
-rwxr-xr-x | t/t3200-branch.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh index a17f8b2a40..1ffce2173e 100755 --- a/t/t3200-branch.sh +++ b/t/t3200-branch.sh @@ -31,7 +31,7 @@ test_expect_success 'branch -h in broken repository' ' >.git/refs/heads/master && test_expect_code 129 git branch -h >usage 2>&1 ) && - grep "[Uu]sage" broken/usage + test_i18ngrep "[Uu]sage" broken/usage ' test_expect_success \ @@ -74,7 +74,7 @@ test_expect_success \ test_expect_success \ 'git branch -m dumps usage' \ 'test_expect_code 129 git branch -m 2>err && - grep "[Uu]sage: git branch" err' + test_i18ngrep "[Uu]sage: git branch" err' test_expect_success \ 'git branch -m m m/m should work' \ |