summaryrefslogtreecommitdiff
path: root/t/t9003-help-autocorrect.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-02-25 16:43:29 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-02-25 16:43:29 -0800
commit608cc4f2738d5e2055e238b2a9e482180d948a05 (patch)
tree7a46b5198a8be7392b1047cff739c4bd68c2f5e0 /t/t9003-help-autocorrect.sh
parentMerge branch 'jk/rev-list-disk-usage' (diff)
parenttests: remove most uses of test_i18ncmp (diff)
downloadtgif-608cc4f2738d5e2055e238b2a9e482180d948a05.tar.xz
Merge branch 'ab/detox-gettext-tests'
Removal of GIT_TEST_GETTEXT_POISON continues. * ab/detox-gettext-tests: tests: remove most uses of test_i18ncmp tests: remove last uses of C_LOCALE_OUTPUT tests: remove most uses of C_LOCALE_OUTPUT tests: remove last uses of GIT_TEST_GETTEXT_POISON=false
Diffstat (limited to 't/t9003-help-autocorrect.sh')
-rwxr-xr-xt/t9003-help-autocorrect.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/t/t9003-help-autocorrect.sh b/t/t9003-help-autocorrect.sh
index 03cd5c5423..f00deaf381 100755
--- a/t/t9003-help-autocorrect.sh
+++ b/t/t9003-help-autocorrect.sh
@@ -56,11 +56,8 @@ test_expect_success 'autocorrect can be declined altogether' '
git config help.autocorrect never &&
test_must_fail git lfg 2>actual &&
- if test_have_prereq C_LOCALE_OUTPUT
- then
- grep "is not a git command" actual &&
- test_line_count = 1 actual
- fi
+ grep "is not a git command" actual &&
+ test_line_count = 1 actual
'
test_done