Index: tests/standalone/status_expression_test.dart |
diff --git a/tests/standalone/status_expression_test.dart b/tests/standalone/status_expression_test.dart |
index 03b4098f0255f6ba05eae99203a378c281088623..c95b5559c0c082b98deac006bc27f350898f50b9 100644 |
--- a/tests/standalone/status_expression_test.dart |
+++ b/tests/standalone/status_expression_test.dart |
@@ -61,7 +61,7 @@ class StatusExpressionTest { |
Tokenizer tokenizer = new Tokenizer(input); |
try { |
tokenizer.tokenize(); |
- } catch (Exception e) { |
+ } on Exception catch (e) { |
thrown = e; |
} |
Expect.equals("Syntax error in '$input'", thrown.toString()); |
@@ -74,7 +74,7 @@ class StatusExpressionTest { |
Tokenizer tokenizer = new Tokenizer(input); |
try { |
tokenizer.tokenize(); |
- } catch (Exception e) { |
+ } on Exception catch (e) { |
thrown = e; |
} |
Expect.equals("Syntax error in '$input'", thrown.toString()); |