@@ -129,7 +129,7 @@ test_expect_success 'branch@{u} error message when no upstream' '
129
129
fatal: Needed a single revision
130
130
EOF
131
131
error_message non-tracking@{u} 2>actual &&
132
- test_cmp expect actual
132
+ test_i18ncmp expect actual
133
133
'
134
134
135
135
test_expect_success ' @{u} error message when no upstream' '
@@ -138,7 +138,7 @@ test_expect_success '@{u} error message when no upstream' '
138
138
fatal: Needed a single revision
139
139
EOF
140
140
test_must_fail git rev-parse --verify @{u} 2>actual &&
141
- test_cmp expect actual
141
+ test_i18ncmp expect actual
142
142
'
143
143
144
144
test_expect_success ' branch@{u} error message with misspelt branch' '
@@ -147,7 +147,7 @@ test_expect_success 'branch@{u} error message with misspelt branch' '
147
147
fatal: Needed a single revision
148
148
EOF
149
149
error_message no-such-branch@{u} 2>actual &&
150
- test_cmp expect actual
150
+ test_i18ncmp expect actual
151
151
'
152
152
153
153
test_expect_success ' @{u} error message when not on a branch' '
@@ -157,7 +157,7 @@ test_expect_success '@{u} error message when not on a branch' '
157
157
EOF
158
158
git checkout HEAD^0 &&
159
159
test_must_fail git rev-parse --verify @{u} 2>actual &&
160
- test_cmp expect actual
160
+ test_i18ncmp expect actual
161
161
'
162
162
163
163
test_expect_success ' branch@{u} error message if upstream branch not fetched' '
@@ -166,7 +166,7 @@ test_expect_success 'branch@{u} error message if upstream branch not fetched' '
166
166
fatal: Needed a single revision
167
167
EOF
168
168
error_message bad-upstream@{u} 2>actual &&
169
- test_cmp expect actual
169
+ test_i18ncmp expect actual
170
170
'
171
171
172
172
test_expect_success ' pull works when tracking a local branch' '
0 commit comments