summaryrefslogtreecommitdiffstats
path: root/t/chainlint/here-doc-close-subshell.test
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/here-doc-close-subshell.test')
-rw-r--r--t/chainlint/here-doc-close-subshell.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/chainlint/here-doc-close-subshell.test b/t/chainlint/here-doc-close-subshell.test
new file mode 100644
index 0000000..b857ff5
--- /dev/null
+++ b/t/chainlint/here-doc-close-subshell.test
@@ -0,0 +1,5 @@
+(
+# LINT: line contains here-doc and closes nested subshell
+ cat <<-\INPUT)
+ fizz
+ INPUT