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

Unified Diff: tests/standalone/io/https_server_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/http_server_test.dart ('k') | tests/standalone/io/process_start_exception_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/https_server_test.dart
diff --git a/tests/standalone/io/https_server_test.dart b/tests/standalone/io/https_server_test.dart
index 490152ea9076d6b1a6faeec5581decbf07c23ff3..3f371d1e0cc5d23af6d3131d8658683a25b0761a 100644
--- a/tests/standalone/io/https_server_test.dart
+++ b/tests/standalone/io/https_server_test.dart
@@ -43,8 +43,11 @@ void testListenOn() {
onDone();
});
})
- .catchError((error) {
- Expect.fail("Unexpected error in Https client: $error");
+ .catchError((e) {
+ String msg = "Unexpected error in Https client: $e";
+ var trace = getAttachedStackTrace(e);
+ if (trace != null) msg += "\nStackTrace: $trace";
+ Expect.fail(msg);
});
});
}
« no previous file with comments | « tests/standalone/io/http_server_test.dart ('k') | tests/standalone/io/process_start_exception_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698