Browse Source

i18n: use test_i18ncmp in t1200 and t2200

Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Junio C Hamano 14 years ago
parent
commit
c36f94123b
  1. 4
      t/t1200-tutorial.sh
  2. 4
      t/t2200-add-update.sh

4
t/t1200-tutorial.sh

@ -166,8 +166,8 @@ test_expect_success 'git resolve' ' @@ -166,8 +166,8 @@ test_expect_success 'git resolve' '
-e "s/^Fast[- ]forward /FASTFORWARD /" >resolve.output
'

test_expect_success C_LOCALE_OUTPUT 'git resolve output' '
test_cmp resolve.expect resolve.output
test_expect_success 'git resolve output' '
test_i18ncmp resolve.expect resolve.output
'

cat > show-branch2.expect << EOF

4
t/t2200-add-update.sh

@ -111,7 +111,7 @@ test_expect_success 'touch and then add explicitly' ' @@ -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'\''" &&
@ -124,7 +124,7 @@ test_expect_success C_LOCALE_OUTPUT 'add -n -u should not add but just report' ' @@ -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) &&

test "$before" = "$after" &&
test_cmp expect actual
test_i18ncmp expect actual

'


Loading…
Cancel
Save