@matheusbsbs / matheus-bagliano / commits / 27e29f859d
Fork 0

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>

Đoàn Trần Công Danh committed May 13, 2020 at 20:23 UTC 27e29f859de4189c80a908080218415ecd5e6722
1 file changed +2 -2
t/t1509-root-work-tree.sh
+2 -2
@@ -221,7 +221,7 @@ test_expect_success 'setup' '
221 rm -rf /.git &&
222 echo "Initialized empty Git repository in /.git/" > expected &&
223 git init > result &&
224 - test_cmp expected result
224 + test_i18ncmp expected result
225 '
226
227 test_vars 'auto gitdir, root' ".git" "/" ""
@@ -246,7 +246,7 @@ test_expect_success 'setup' '
246 cd / &&
247 echo "Initialized empty Git repository in /" > expected &&
248 git init --bare > result &&
249 - test_cmp expected result
249 + test_i18ncmp expected result
250 '
251
252 test_vars 'auto gitdir, root' "." "" ""