summaryrefslogtreecommitdiff
path: root/t/chainlint/here-doc-multi-line-string.test
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/here-doc-multi-line-string.test')
-rw-r--r--t/chainlint/here-doc-multi-line-string.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/t/chainlint/here-doc-multi-line-string.test b/t/chainlint/here-doc-multi-line-string.test
new file mode 100644
index 0000000..a53edbc
--- /dev/null
+++ b/t/chainlint/here-doc-multi-line-string.test
@@ -0,0 +1,8 @@
+(
+# LINT: line contains here-doc and opens multi-line string
+ cat <<-\TXT && echo "multi-line
+ string"
+ fizzle
+ TXT
+ bap
+)