summaryrefslogtreecommitdiff
path: root/t/t0002-gitfile.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-02-27 10:33:58 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-02-27 10:33:58 -0800
commitd4053966ea71a9f6460419fd68db912bda91ff85 (patch)
tree3426a84fcfa48a1bec45471c358e83f11e6e013e /t/t0002-gitfile.sh
parentMerge branch 'sg/doc-test-must-fail-args' (diff)
parentMark messages for translations (diff)
downloadtgif-d4053966ea71a9f6460419fd68db912bda91ff85.tar.xz
Merge branch 'as/ll-i18n'
Some messages in low level start-up codepath have been i18n-ized. * as/ll-i18n: Mark messages for translations
Diffstat (limited to 't/t0002-gitfile.sh')
-rwxr-xr-xt/t0002-gitfile.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t0002-gitfile.sh b/t/t0002-gitfile.sh
index fb8d094117..3691023d51 100755
--- a/t/t0002-gitfile.sh
+++ b/t/t0002-gitfile.sh
@@ -18,13 +18,13 @@ test_expect_success 'initial setup' '
test_expect_success 'bad setup: invalid .git file format' '
echo "gitdir $REAL" >.git &&
test_must_fail git rev-parse 2>.err &&
- grep "Invalid gitfile format" .err
+ test_i18ngrep "invalid gitfile format" .err
'
test_expect_success 'bad setup: invalid .git file path' '
echo "gitdir: $REAL.not" >.git &&
test_must_fail git rev-parse 2>.err &&
- grep "Not a git repository" .err
+ test_i18ngrep "not a git repository" .err
'
test_expect_success 'final setup + check rev-parse --git-dir' '