Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Unified Diff: tests/standalone/io/http_server_early_client_close_test.dart

Issue 14251006: Remove AsyncError with Expando. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « tests/standalone/io/http_redirect_test.dart ('k') | tests/standalone/io/http_server_early_server_close_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698