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

Unified Diff: tests/language/getter_closure_execution_order_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/language/generic_test.dart ('k') | tests/language/getter_no_setter_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/getter_closure_execution_order_test.dart
diff --git a/tests/language/getter_closure_execution_order_test.dart b/tests/language/getter_closure_execution_order_test.dart
index dbdae7afd58b5cbb4d7710350277de6a114ded3d..05011f6bbf0299529aa92ceab0ae3b5f46b8bb51 100644
--- a/tests/language/getter_closure_execution_order_test.dart
+++ b/tests/language/getter_closure_execution_order_test.dart
@@ -55,7 +55,7 @@ main() {
var o = new Test1();
o.a(o.b());
Expect.equals(2, counter);
- } catch (var exc, var stack) {
+ } catch (exc, stack) {
failures.add(exc);
failures.add(stack);
}
@@ -64,7 +64,7 @@ main() {
counter = 0;
Test2.a(Test2.b());
Expect.equals(2, counter);
- } catch (var exc, var stack) {
+ } catch (exc, stack) {
failures.add(exc);
failures.add(stack);
}
@@ -73,7 +73,7 @@ main() {
counter = 0;
a(b());
Expect.equals(2, counter);
- } catch (var exc, var stack) {
+ } catch (exc, stack) {
failures.add(exc);
failures.add(stack);
}
« no previous file with comments | « tests/language/generic_test.dart ('k') | tests/language/getter_no_setter_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698