fixed typo in HttpClient failure message (#53211)

This commit is contained in:
adityapstar 2020-03-25 17:26:01 -05:00 committed by GitHub
parent ba57ea09d1
commit a57feac62e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -467,7 +467,7 @@ Future<void> _runFrameworkTests() async {
'Warning: At least one test in this suite creates an HttpClient. When\n'
'running a test suite that uses TestWidgetsFlutterBinding, all HTTP\n'
'requests will return status code 400, and no network request will\n'
'actually be made. Any test expecting an real network connection and\n'
'actually be made. Any test expecting a real network connection and\n'
'status code will fail.\n'
'To test code that needs an HttpClient, provide your own HttpClient\n'
'implementation to the code under test, so that your test can\n'

View File

@ -84,7 +84,7 @@ class _MockHttpOverrides extends HttpOverrides {
'Warning: At least one test in this suite creates an HttpClient. When\n'
'running a test suite that uses TestWidgetsFlutterBinding, all HTTP\n'
'requests will return status code 400, and no network request will\n'
'actually be made. Any test expecting an real network connection and\n'
'actually be made. Any test expecting a real network connection and\n'
'status code will fail.\n'
'To test code that needs an HttpClient, provide your own HttpClient\n'
'implementation to the code under test, so that your test can\n'