Index: tests/compiler/dart2js_extra/naming_test.dart |
diff --git a/tests/compiler/dart2js_extra/naming_test.dart b/tests/compiler/dart2js_extra/naming_test.dart |
index b21708e6d3a36ad5de4615c5c5a3d621965c8e49..56c9eb4e21c61fdd590f9bd9404b0c36760872a6 100644 |
--- a/tests/compiler/dart2js_extra/naming_test.dart |
+++ b/tests/compiler/dart2js_extra/naming_test.dart |
@@ -213,10 +213,10 @@ class NamingTest { |
var caught = false; |
try { |
throw new MyException(); |
- } catch (var exc) { |
+ } catch (exc) { |
try { |
throw new MyException(); |
- } catch (var exc2) { |
+ } catch (exc2) { |
exc = 9; |
} |
Expect.equals(9, exc); |
@@ -396,7 +396,7 @@ class NamingTest { |
var wasCaught = false; |
try { |
throw new with(0, 0); |
- } catch(with e) { |
+ } on with catch (e) { |
wasCaught = true; |
Expect.equals(5, e.x); |
} |