summaryrefslogtreecommitdiffstats
path: root/tests/indent/2.1/test.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/2.1/test.js')
-rw-r--r--tests/indent/2.1/test.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/indent/2.1/test.js b/tests/indent/2.1/test.js
new file mode 100644
index 00000000..bfe70006
--- /dev/null
+++ b/tests/indent/2.1/test.js
@@ -0,0 +1,10 @@
+// File with 2-spaces indentation
+function foobar() {
+ foo = bar
+ while (true) {
+ fizfuz()
+ fizfuz()
+ fizfuz()
+ fizfuz()
+ }
+}