aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/dart/switch.dart
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/dart/switch.dart')
-rw-r--r--tests/indent/dart/switch.dart9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/indent/dart/switch.dart b/tests/indent/dart/switch.dart
new file mode 100644
index 000000000..fae070cda
--- /dev/null
+++ b/tests/indent/dart/switch.dart
@@ -0,0 +1,9 @@
+void test() {
+ final a = 69;
+ switch (a) {
+ case 69:
+ break;
+ case 420:
+ default:
+ }
+}