aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/ecma/switch.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/ecma/switch.js')
-rw-r--r--tests/indent/ecma/switch.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/indent/ecma/switch.js b/tests/indent/ecma/switch.js
new file mode 100644
index 000000000..590b7d35f
--- /dev/null
+++ b/tests/indent/ecma/switch.js
@@ -0,0 +1,8 @@
+switch (variable) {
+ case 'case1':
+ foo();
+ break;
+
+ default:
+ bar();
+}