summaryrefslogtreecommitdiffstats
path: root/t/chainlint/comment.test
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/comment.test')
-rw-r--r--t/chainlint/comment.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/t/chainlint/comment.test b/t/chainlint/comment.test
new file mode 100644
index 0000000..113c0c4
--- /dev/null
+++ b/t/chainlint/comment.test
@@ -0,0 +1,11 @@
+(
+# LINT: swallow comment lines
+ # comment 1
+ nothing &&
+ # comment 2
+ something
+# LINT: swallow comment lines since final _statement_ before subshell end is
+# LINT: significant to "&&"-check, not final _line_ (which might be comment)
+ # comment 3
+ # comment 4
+)