summaryrefslogtreecommitdiff
path: root/t/chainlint/nested-here-doc.test
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/nested-here-doc.test')
-rw-r--r--t/chainlint/nested-here-doc.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/t/chainlint/nested-here-doc.test b/t/chainlint/nested-here-doc.test
index 027e0bb..f35404b 100644
--- a/t/chainlint/nested-here-doc.test
+++ b/t/chainlint/nested-here-doc.test
@@ -1,3 +1,13 @@
+# LINT: inner "EOF" not misintrepreted as closing ARBITRARY here-doc
+cat <<ARBITRARY >foop &&
+naddle
+fub <<EOF
+ nozzle
+ noodle
+EOF
+formp
+ARBITRARY
+
(
# LINT: inner "EOF" not misintrepreted as closing INPUT_END here-doc
cat <<-\INPUT_END &&