| Index: tests/standalone/io/http_client_exception_test.dart
|
| diff --git a/tests/standalone/io/http_client_exception_test.dart b/tests/standalone/io/http_client_exception_test.dart
|
| index 4a5ab98aa924344a7ef61a1629a5ba48838ba64d..a2bb7a851f79dd33703f2db43125eebc4094f63b 100644
|
| --- a/tests/standalone/io/http_client_exception_test.dart
|
| +++ b/tests/standalone/io/http_client_exception_test.dart
|
| @@ -18,7 +18,7 @@ void testInvalidUrl() {
|
| (e) => e.toString().contains("Unsupported scheme"));
|
| Expect.throws(
|
| () => client.getUrl(Uri.parse('http://::1')),
|
| - (e) => e.toString().contains("No host specified"));
|
| + (e) => e is FormatException);
|
| Expect.throws(
|
| () => client.getUrl(Uri.parse('http://user@:1')),
|
| (e) => e.toString().contains("No host specified"));
|
|
|