| Index: tests/language/infinite_switch_label_test.dart
|
| diff --git a/tests/language/infinite_switch_label_test.dart b/tests/language/infinite_switch_label_test.dart
|
| index 9a89b91e0533492f316e81c67319e8b1d41fff95..7eec42c99c16624cda82ab2e8393d3f5c270f6f5 100644
|
| --- a/tests/language/infinite_switch_label_test.dart
|
| +++ b/tests/language/infinite_switch_label_test.dart
|
| @@ -22,11 +22,13 @@ void main() {
|
| void doSwitch(int target) {
|
| List list = [];
|
| switch (target) {
|
| - l0: case 0:
|
| + l0:
|
| + case 0:
|
| if (list.length > 10) throw list;
|
| list.add(0);
|
| continue l1;
|
| - l1: case 1:
|
| + l1:
|
| + case 1:
|
| if (list.length > 10) throw list;
|
| list.add(1);
|
| continue l0;
|
| @@ -34,4 +36,4 @@ void doSwitch(int target) {
|
| list.add(2);
|
| continue l1;
|
| }
|
| -}
|
| +}
|
|
|