Index: tests/standalone/io/http_server_early_client_close_test.dart |
diff --git a/tests/standalone/io/http_server_early_client_close_test.dart b/tests/standalone/io/http_server_early_client_close_test.dart |
index 5a5889952a5cde0143b6f0a124246ff30d45fe81..aade9d2f41de26ec139ca9747d79778204fcf775 100644 |
--- a/tests/standalone/io/http_server_early_client_close_test.dart |
+++ b/tests/standalone/io/http_server_early_client_close_test.dart |
@@ -39,17 +39,17 @@ class EarlyCloseTest { |
calledOnRequest = true; |
request.listen( |
(_) {}, |
- onError: (e) { |
+ onError: (error) { |
Expect.isFalse(calledOnError); |
- Expect.equals(exception, e.error.message); |
+ Expect.equals(exception, error.message); |
calledOnError = true; |
port.close(); |
c.complete(null); |
}); |
}, |
- onError: (e) { |
+ onError: (error) { |
Expect.isFalse(calledOnError); |
- Expect.equals(exception, e.error.message); |
+ Expect.equals(exception, error.message); |
Expect.equals(expectRequest, calledOnRequest); |
calledOnError = true; |
port.close(); |