Skip to content

Commit 27e29f8

Browse files
sgngitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b994622 commit 27e29f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t1509-root-work-tree.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ test_expect_success 'setup' '
221221
rm -rf /.git &&
222222
echo "Initialized empty Git repository in /.git/" > expected &&
223223
git init > result &&
224-
test_cmp expected result
224+
test_i18ncmp expected result
225225
'
226226

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

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

0 commit comments

Comments
 (0)