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..d65e50f78d
--- /dev/null
+++ b/t/chainlint/unclosed-here-doc.expect
@@ -0,0 +1,7 @@
+command_which_is_run &&
+cat >expect <<\EOF ?!UNCLOSED-HEREDOC?! &&
+ we try to end the here-doc below,
+ but the indentation throws us off
+ since the operator is not "<<-".
+ EOF
+command_which_is_gobbled