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

Unified Diff: tests/corelib/future_test.dart

Issue 10891020: Update almost all tests (except co19) to use the new try-catch syntax. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge. Created 8 years, 4 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/corelib/exception_implementation_test.dart ('k') | tests/corelib/growable_object_array2_vm_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/future_test.dart
diff --git a/tests/corelib/future_test.dart b/tests/corelib/future_test.dart
index 8448581ad9d0cb74a02013b22439b2daf45c73de..b26ed40b6955e208418b8e1756fe6ff45bf3726e 100644
--- a/tests/corelib/future_test.dart
+++ b/tests/corelib/future_test.dart
@@ -309,7 +309,7 @@ testCallStackThrowsIfNotComplete() {
var exception;
try {
new Completer().future.stackTrace;
- } catch (var ex) {
+ } catch (ex) {
exception = ex;
}
« no previous file with comments | « tests/corelib/exception_implementation_test.dart ('k') | tests/corelib/growable_object_array2_vm_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698