summaryrefslogtreecommitdiff
path: root/mnv/runtime/indent/testdir/bash.ok
diff options
context:
space:
mode:
Diffstat (limited to 'mnv/runtime/indent/testdir/bash.ok')
-rw-r--r--mnv/runtime/indent/testdir/bash.ok22
1 files changed, 22 insertions, 0 deletions
diff --git a/mnv/runtime/indent/testdir/bash.ok b/mnv/runtime/indent/testdir/bash.ok
new file mode 100644
index 0000000000..8612b4d996
--- /dev/null
+++ b/mnv/runtime/indent/testdir/bash.ok
@@ -0,0 +1,22 @@
+#!/bin/bash
+# mnv: set ft=bash sw=2 noet:
+
+# START_INDENT
+a = 10
+b = 20
+
+function add() {
+ c = $((a + b))
+}
+
+function print {
+ # do nothing
+}
+
+if [[ $c -ge 15 ]];
+then
+ print("ok")
+else
+ print("not ok")
+fi
+# END_INDENT