aboutsummaryrefslogtreecommitdiff
path: root/t/t1502-rev-parse-parseopt.sh
diff options
context:
space:
mode:
authorJiang Xin <worldhello.net@gmail.com>2012-08-27 13:36:55 +0800
committerJunio C Hamano <gitster@pobox.com>2012-08-27 09:26:30 -0700
commit9a0013819ea541cfa1102292d1fdceb30352c2c3 (patch)
tree00862b29ba21cb7f494a66d157c89856dc24fa1b /t/t1502-rev-parse-parseopt.sh
parentf7dc6a96435e050afbbdbdeffac481fea7ddb8af (diff)
downloadgit-9a0013819ea541cfa1102292d1fdceb30352c2c3.tar.gz
git-9a0013819ea541cfa1102292d1fdceb30352c2c3.tar.xz
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/t1502-rev-parse-parseopt.sh')
-rwxr-xr-xt/t1502-rev-parse-parseopt.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1502-rev-parse-parseopt.sh b/t/t1502-rev-parse-parseopt.sh
index 1efd7f76d..13c88c9aa 100755
--- a/t/t1502-rev-parse-parseopt.sh
+++ b/t/t1502-rev-parse-parseopt.sh
@@ -41,7 +41,7 @@ EOF
test_expect_success 'test --parseopt help output' '
test_expect_code 129 git rev-parse --parseopt -- -h > output < optionspec &&
- test_cmp expect output
+ test_i18ncmp expect output
'
cat > expect <<EOF