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

Unified Diff: tests/standalone/io/string_transformer_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
« no previous file with comments | « tests/standalone/io/socket_test.dart ('k') | tests/standalone/io/testing_server.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/string_transformer_test.dart
diff --git a/tests/standalone/io/string_transformer_test.dart b/tests/standalone/io/string_transformer_test.dart
index a15633dd00cb88609d8a3024c68a1f5e12b31ac2..a7dd5443ef6e29cb3c1417bb44b80dc5f2bc6e84 100644
--- a/tests/standalone/io/string_transformer_test.dart
+++ b/tests/standalone/io/string_transformer_test.dart
@@ -197,9 +197,9 @@ testErrorHandler() {
onDone: () {
Expect.equals(1, errors);
},
- onError: (e) {
+ onError: (error) {
errors++;
- Expect.isTrue(e.error is TestException);
+ Expect.isTrue(error is TestException);
});
controller.addError(new TestException());
controller.close();
@@ -222,7 +222,7 @@ testLatin1EncoderError() {
Expect.fail("data not expected");
},
onError: (error) {
- Expect.isTrue(error.error is FormatException);
+ Expect.isTrue(error is FormatException);
});
}
« no previous file with comments | « tests/standalone/io/socket_test.dart ('k') | tests/standalone/io/testing_server.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698