summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2021-05-01 11:41:19 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-05-03 14:41:08 +0900
commit963d02a24a1e6cec02cadf0d682af0bf222647ab (patch)
tree5b5308c6ddf1c22485d1d10f2e8e747825292a7a /t
parentThe thirteenth batch (diff)
downloadtgif-963d02a24a1e6cec02cadf0d682af0bf222647ab.tar.xz
t7415: remove out-dated comment about translation
Since GETTEXT_POISON does not exist anymore, there is no point warning people about whether we should use test_i18ngrep. This is doubly confusing because the comment was describing why it was OK to use grep, but it got caught up in the mass conversion of 674ba34038 (fsck: mark strings for translation, 2018-11-10). Note there are other uses of test_i18ngrep in this script which are now obsolete; I'll save those for a mass-cleanup. My goal here was just to fix the confusing comment in code I'm about to refactor. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t7415-submodule-names.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/t/t7415-submodule-names.sh b/t/t7415-submodule-names.sh
index f70368bc2e..fef6561d80 100755
--- a/t/t7415-submodule-names.sh
+++ b/t/t7415-submodule-names.sh
@@ -151,10 +151,9 @@ test_expect_success 'fsck detects symlinked .gitmodules file' '
} | git mktree &&
# Check not only that we fail, but that it is due to the
- # symlink detector; this grep string comes from the config
- # variable name and will not be translated.
+ # symlink detector
test_must_fail git fsck 2>output &&
- test_i18ngrep gitmodulesSymlink output
+ grep gitmodulesSymlink output
)
'