Skip to content

Commit c36f941

Browse files
committed
i18n: use test_i18ncmp in t1200 and t2200
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 33d56fa commit c36f941

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

t/t1200-tutorial.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ test_expect_success 'git resolve' '
166166
-e "s/^Fast[- ]forward /FASTFORWARD /" >resolve.output
167167
'
168168

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
171171
'
172172

173173
cat > show-branch2.expect << EOF

t/t2200-add-update.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ test_expect_success 'touch and then add explicitly' '
111111
112112
'
113113

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' '
115115
116116
(
117117
echo "add '\''check'\''" &&
@@ -124,7 +124,7 @@ test_expect_success C_LOCALE_OUTPUT 'add -n -u should not add but just report' '
124124
after=$(git ls-files -s check top) &&
125125
126126
test "$before" = "$after" &&
127-
test_cmp expect actual
127+
test_i18ncmp expect actual
128128
129129
'
130130

0 commit comments

Comments
 (0)