summaryrefslogtreecommitdiff
path: root/t/chainlint/unclosed-here-doc-indent.test
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/unclosed-here-doc-indent.test')
-rw-r--r--t/chainlint/unclosed-here-doc-indent.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/chainlint/unclosed-here-doc-indent.test b/t/chainlint/unclosed-here-doc-indent.test
new file mode 100644
index 0000000000..7ac9d0f7d7
--- /dev/null
+++ b/t/chainlint/unclosed-here-doc-indent.test
@@ -0,0 +1,6 @@
+test_expect_success 'unclosed-here-doc-indent' '
+command_which_is_run &&
+cat >expect <<-\EOF &&
+we forget to end the here-doc
+command_which_is_gobbled
+'