| Index: tests/language/switch_fallthru_test.dart
|
| diff --git a/tests/language/switch_fallthru_test.dart b/tests/language/switch_fallthru_test.dart
|
| index 226aec7a902584dda149a3240b2fbc6b918786c5..49085e164685a2859d335f353384cd58cc18afac 100644
|
| --- a/tests/language/switch_fallthru_test.dart
|
| +++ b/tests/language/switch_fallthru_test.dart
|
| @@ -25,7 +25,7 @@ class SwitchFallthruTest {
|
| bool fallthroughCaught = false;
|
| try {
|
| test(1);
|
| - } catch (FallThroughError e) {
|
| + } on FallThroughError catch (e) {
|
| fallthroughCaught = true;
|
| }
|
| Expect.equals(true, fallthroughCaught);
|
|
|