Index: tests/language/empty_block_case_test.dart |
diff --git a/tests/language/empty_block_case_test.dart b/tests/language/empty_block_case_test.dart |
index 4b80d96430a85b2ef7b38886997b8413dcb06f48..6aeb6cf3b92470eef0587fe93c7b82695ccda775 100644 |
--- a/tests/language/empty_block_case_test.dart |
+++ b/tests/language/empty_block_case_test.dart |
@@ -13,7 +13,7 @@ class EmptyBlockCaseTest { |
case 1: {} |
case 2: Expect.equals(true, false); |
} |
- } catch (FallThroughError e) { |
+ } on FallThroughError catch (e) { |
exception = e; |
} |
Expect.equals(true, exception != null); |