i18n: use test_i18ncmp in t1200 and t2200

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Junio C Hamano 2011-04-12 15:50:55 -07:00
Родитель 33d56fa076
Коммит c36f94123b
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -166,8 +166,8 @@ test_expect_success 'git resolve' '
-e "s/^Fast[- ]forward /FASTFORWARD /" >resolve.output -e "s/^Fast[- ]forward /FASTFORWARD /" >resolve.output
' '
test_expect_success C_LOCALE_OUTPUT 'git resolve output' ' test_expect_success 'git resolve output' '
test_cmp resolve.expect resolve.output test_i18ncmp resolve.expect resolve.output
' '
cat > show-branch2.expect << EOF cat > show-branch2.expect << EOF

Просмотреть файл

@ -111,7 +111,7 @@ test_expect_success 'touch and then add explicitly' '
' '
test_expect_success C_LOCALE_OUTPUT 'add -n -u should not add but just report' ' test_expect_success 'add -n -u should not add but just report' '
( (
echo "add '\''check'\''" && echo "add '\''check'\''" &&
@ -124,7 +124,7 @@ test_expect_success C_LOCALE_OUTPUT 'add -n -u should not add but just report' '
after=$(git ls-files -s check top) && after=$(git ls-files -s check top) &&
test "$before" = "$after" && test "$before" = "$after" &&
test_cmp expect actual test_i18ncmp expect actual
' '