Index: pkg/http/test/client_test.dart |
diff --git a/pkg/http/test/client_test.dart b/pkg/http/test/client_test.dart |
index aa7781f1d6ef1ce3f7903354439b8b6e4e43a532..723f1436b5ea3742e0de443e515b9f0a0ddb40b1 100644 |
--- a/pkg/http/test/client_test.dart |
+++ b/pkg/http/test/client_test.dart |
@@ -55,7 +55,7 @@ void main() { |
request.headers[HttpHeaders.CONTENT_TYPE] = |
'application/json; charset=utf-8'; |
- expect(client.send(request), throwsSocketIOException); |
+ expect(client.send(request), throwsSocketException); |
request.sink.add('{"hello": "world"}'.codeUnits); |
request.sink.close(); |