aboutsummaryrefslogtreecommitdiffstats
path: root/test-cases/comment/script.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test-cases/comment/script.sh')
-rw-r--r--test-cases/comment/script.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/test-cases/comment/script.sh b/test-cases/comment/script.sh
new file mode 100644
index 0000000..5f51002
--- /dev/null
+++ b/test-cases/comment/script.sh
@@ -0,0 +1,6 @@
+set X = good
+fun mutate {
+ set X = bad
+}
+# if this were not a comment, command interpolations would be executed: $(mutate)
+echo $X