summaryrefslogtreecommitdiffstats
path: root/tests/indent/4.1/test.js
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-09-23 19:37:50 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-09-23 19:37:58 +0200
commit33f0964d53270e627e9293a3a7a2badb44353a0b (patch)
tree7372ececa3d57e4e47da3c21831a35755e637832 /tests/indent/4.1/test.js
parent92cb76e33a9ba4d8ac72018a26c2e99ba50d971c (diff)
downloadvim-polyglot-33f0964d53270e627e9293a3a7a2badb44353a0b.tar.gz
vim-polyglot-33f0964d53270e627e9293a3a7a2badb44353a0b.zip
Update test script to ruby
Diffstat (limited to 'tests/indent/4.1/test.js')
-rw-r--r--tests/indent/4.1/test.js10
1 files changed, 10 insertions, 0 deletions
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()
+ }
+}