summaryrefslogtreecommitdiff
path: root/t/chainlint/unclosed-here-doc.expect
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/unclosed-here-doc.expect')
-rw-r--r--t/chainlint/unclosed-here-doc.expect7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/chainlint/unclosed-here-doc.expect b/t/chainlint/unclosed-here-doc.expect
new file mode 100644
index 0000000000..752c608862
--- /dev/null
+++ b/t/chainlint/unclosed-here-doc.expect
@@ -0,0 +1,7 @@
+2 command_which_is_run &&
+3 cat >expect <<\EOF ?!LINT: unclosed heredoc?! &&
+4 we try to end the here-doc below,
+5 but the indentation throws us off
+6 since the operator is not "<<-".
+7 EOF
+8 command_which_is_gobbled