summaryrefslogtreecommitdiffstats
path: root/tests/indent
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent')
-rw-r--r--tests/indent/2.1/test.js10
-rw-r--r--tests/indent/4.1/test.js10
2 files changed, 20 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()
+ }
+}
diff --git a/tests/indent/4.1/test.js b/tests/indent/4.1/test.js
new file mode 100644
index 00000000..64e95103
--- /dev/null
+++ b/tests/indent/4.1/test.js
@@ -0,0 +1,10 @@
+// File with 4-spaces indentation
+function foobar() {
+ foo = bar
+ while (true) {
+ fizfuz()
+ fizfuz()
+ fizfuz()
+ fizfuz()
+ }
+}