Skip to content

Commit

Permalink
i18n: use test_i18ncmp in t1200 and t2200
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Junio C Hamano committed Apr 13, 2011
1 parent 33d56fa commit c36f941
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions t/t1200-tutorial.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions t/t2200-add-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'\''" &&
Expand All @@ -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
'

Expand Down

0 comments on commit c36f941

Please sign in to comment.