mirror of
https://github.com/git/git.git
synced 2024-12-03 23:14:23 +08:00
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
This commit is contained in:
commit
2fff509442
@ -199,7 +199,7 @@ test_expect_success 'GIT_SMART_HTTP can disable smart http' '
|
||||
|
||||
test_expect_success 'invalid Content-Type rejected' '
|
||||
test_must_fail git clone $HTTPD_URL/broken_smart/repo.git 2>actual &&
|
||||
grep "not valid:" actual
|
||||
test_i18ngrep "not valid:" actual
|
||||
'
|
||||
|
||||
test_expect_success 'create namespaced refs' '
|
||||
@ -466,7 +466,7 @@ test_expect_success 'GIT_TRACE_CURL_NO_DATA prevents data from being traced' '
|
||||
|
||||
test_expect_success 'server-side error detected' '
|
||||
test_must_fail git clone $HTTPD_URL/error_smart/repo.git 2>actual &&
|
||||
grep "server-side error" actual
|
||||
test_i18ngrep "server-side error" actual
|
||||
'
|
||||
|
||||
test_done
|
||||
|
Loading…
Reference in New Issue
Block a user