mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
fixed typo in HttpClient failure message (#53211)
This commit is contained in:
parent
ba57ea09d1
commit
a57feac62e
@ -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'
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user