Skip to content

Commit 2fff509

Browse files
committed
Merge branch 'sg/t5551-fetch-smart-error-is-translated'
Test update. * sg/t5551-fetch-smart-error-is-translated: t5551: use 'test_i18ngrep' to check translated output
2 parents 968eecb + e532a90 commit 2fff509

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' '
@@ -466,7 +466,7 @@ test_expect_success 'GIT_TRACE_CURL_NO_DATA prevents data from being traced' '
466466

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

472472
test_done

0 commit comments

Comments
 (0)