Unverified Commit a57feac6 authored by adityapstar's avatar adityapstar Committed by GitHub

fixed typo in HttpClient failure message (#53211)

parent ba57ea09
...@@ -467,7 +467,7 @@ Future<void> _runFrameworkTests() async { ...@@ -467,7 +467,7 @@ Future<void> _runFrameworkTests() async {
'Warning: At least one test in this suite creates an HttpClient. When\n' 'Warning: At least one test in this suite creates an HttpClient. When\n'
'running a test suite that uses TestWidgetsFlutterBinding, all HTTP\n' 'running a test suite that uses TestWidgetsFlutterBinding, all HTTP\n'
'requests will return status code 400, and no network request will\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' 'status code will fail.\n'
'To test code that needs an HttpClient, provide your own HttpClient\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' 'implementation to the code under test, so that your test can\n'
......
...@@ -84,7 +84,7 @@ class _MockHttpOverrides extends HttpOverrides { ...@@ -84,7 +84,7 @@ class _MockHttpOverrides extends HttpOverrides {
'Warning: At least one test in this suite creates an HttpClient. When\n' 'Warning: At least one test in this suite creates an HttpClient. When\n'
'running a test suite that uses TestWidgetsFlutterBinding, all HTTP\n' 'running a test suite that uses TestWidgetsFlutterBinding, all HTTP\n'
'requests will return status code 400, and no network request will\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' 'status code will fail.\n'
'To test code that needs an HttpClient, provide your own HttpClient\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' 'implementation to the code under test, so that your test can\n'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment