about summary refs log tree commit diff
path: root/third_party/git/t/chainlint/here-doc-multi-line-string.test
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/chainlint/here-doc-multi-line-string.test')
-rw-r--r--third_party/git/t/chainlint/here-doc-multi-line-string.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/git/t/chainlint/here-doc-multi-line-string.test b/third_party/git/t/chainlint/here-doc-multi-line-string.test
new file mode 100644
index 000000000000..a53edbcc8d89
--- /dev/null
+++ b/third_party/git/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
+)