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