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

Unified Diff: packages/dart_style/test/whitespace/switch.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/whitespace/statements.stmt ('k') | packages/dart_style/tool/grind.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/dart_style/test/whitespace/switch.stmt
diff --git a/packages/dart_style/test/whitespace/switch.stmt b/packages/dart_style/test/whitespace/switch.stmt
index abf9813da6a7422cdde37e1e37677c1713f0807b..39c592ebe62e670f49147fe92802d0789e528476 100644
--- a/packages/dart_style/test/whitespace/switch.stmt
+++ b/packages/dart_style/test/whitespace/switch.stmt
@@ -164,4 +164,28 @@ switch (fruit) {
case "fig":
print("bleh");
break;
-}
+}
+>>> labeled cases
+switch (fruit) {
+ case "apple":
+ print("delish");
+ break;
+ label:case "fig":
+ print("bleh");
+ break;
+ other:default:
+ break;
+}
+<<<
+switch (fruit) {
+ case "apple":
+ print("delish");
+ break;
+ label:
+ case "fig":
+ print("bleh");
+ break;
+ other:
+ default:
+ break;
+}
« no previous file with comments | « packages/dart_style/test/whitespace/statements.stmt ('k') | packages/dart_style/tool/grind.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698