i18n: use test_i18ncmp in t1200 and t2200
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Apr 12, 2011 at 15:50 UTC
c36f94123bb16d412fc0f7c49d655bfe4259c4b6
2 files changed
+4
-4
t/t1200-tutorial.sh
+2
-2
@@ -166,8 +166,8 @@ test_expect_success 'git resolve' '
166
-e "s/^Fast[- ]forward /FASTFORWARD /" >resolve.output
167
'
168
169
-test_expect_success C_LOCALE_OUTPUT 'git resolve output' '
170
- test_cmp resolve.expect resolve.output
169
+test_expect_success 'git resolve output' '
170
+ test_i18ncmp resolve.expect resolve.output
171
'
172
173
cat > show-branch2.expect << EOF
t/t2200-add-update.sh
+2
-2
@@ -111,7 +111,7 @@ test_expect_success 'touch and then add explicitly' '
111
112
'
113
114
-test_expect_success C_LOCALE_OUTPUT 'add -n -u should not add but just report' '
114
+test_expect_success 'add -n -u should not add but just report' '
115
116
(
117
echo "add '\''check'\''" &&
@@ -124,7 +124,7 @@ test_expect_success C_LOCALE_OUTPUT 'add -n -u should not add but just report' '
124
after=$(git ls-files -s check top) &&
125
126
test "$before" = "$after" &&
127
- test_cmp expect actual
127
+ test_i18ncmp expect actual
128
129
'
130