t1509: correct i18n test

git-init(1)'s messages is subjected to i18n.
They should be tested by test_i18n* family.

Fix them.

Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Đoàn Trần Công Danh 2020-05-13 20:23:06 +07:00 committed by Junio C Hamano
parent b994622632
commit 27e29f859d
1 changed files with 2 additions and 2 deletions

View File

@ -221,7 +221,7 @@ test_expect_success 'setup' '
rm -rf /.git &&
echo "Initialized empty Git repository in /.git/" > expected &&
git init > result &&
test_cmp expected result
test_i18ncmp expected result
'

test_vars 'auto gitdir, root' ".git" "/" ""
@ -246,7 +246,7 @@ test_expect_success 'setup' '
cd / &&
echo "Initialized empty Git repository in /" > expected &&
git init --bare > result &&
test_cmp expected result
test_i18ncmp expected result
'

test_vars 'auto gitdir, root' "." "" ""