Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(607)

Unified Diff: packages/dart_style/test/regression/0000/0043.stmt

Issue 2990843002: Removed fixed dependencies (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « packages/dart_style/test/io_test.dart ('k') | packages/dart_style/test/regression/0200/0223.stmt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
+ }
+}
« no previous file with comments | « packages/dart_style/test/io_test.dart ('k') | packages/dart_style/test/regression/0200/0223.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698