Skip to content

Commit 0a2e838

Browse files
committed
Merge branch 'sg/t5551-fetch-smart-error-is-translated' into maint
Test update. * sg/t5551-fetch-smart-error-is-translated: t5551: use 'test_i18ngrep' to check translated output
2 parents ca9eba8 + e532a90 commit 0a2e838

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t5551-http-fetch-smart.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ test_expect_success 'GIT_SMART_HTTP can disable smart http' '
199199

200200
test_expect_success 'invalid Content-Type rejected' '
201201
test_must_fail git clone $HTTPD_URL/broken_smart/repo.git 2>actual &&
202-
grep "not valid:" actual
202+
test_i18ngrep "not valid:" actual
203203
'
204204

205205
test_expect_success 'create namespaced refs' '
@@ -465,7 +465,7 @@ test_expect_success 'GIT_TRACE_CURL_NO_DATA prevents data from being traced' '
465465

466466
test_expect_success 'server-side error detected' '
467467
test_must_fail git clone $HTTPD_URL/error_smart/repo.git 2>actual &&
468-
grep "server-side error" actual
468+
test_i18ngrep "server-side error" actual
469469
'
470470

471471
test_done

0 commit comments

Comments
 (0)