| Index: packages/dart_style/test/regression/0000/0043.stmt
|
| diff --git a/packages/dart_style/test/regression/0000/0043.stmt b/packages/dart_style/test/regression/0000/0043.stmt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c333efada3a6a4036a82bbb98c0db2755763dd8f
|
| --- /dev/null
|
| +++ b/packages/dart_style/test/regression/0000/0043.stmt
|
| @@ -0,0 +1,29 @@
|
| +>>>
|
| +switchItUp() {
|
| + var command = 'CLOSED';
|
| + switch (command) {
|
| + case 'CLOSED':
|
| + executeClosed();
|
| + continue nowClosed; // Continues executing at the nowClosed label.
|
| +
|
| + nowClosed: case 'NOW_CLOSED':
|
| + // Runs for both CLOSED and NOW_CLOSED.
|
| + executeNowClosed();
|
| + break;
|
| + }
|
| +}
|
| +<<<
|
| +switchItUp() {
|
| + var command = 'CLOSED';
|
| + switch (command) {
|
| + case 'CLOSED':
|
| + executeClosed();
|
| + continue nowClosed; // Continues executing at the nowClosed label.
|
| +
|
| + nowClosed:
|
| + case 'NOW_CLOSED':
|
| + // Runs for both CLOSED and NOW_CLOSED.
|
| + executeNowClosed();
|
| + break;
|
| + }
|
| +}
|
|
|