diff options
Diffstat (limited to 't/chainlint/unclosed-here-doc.test')
-rw-r--r-- | t/chainlint/unclosed-here-doc.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/t/chainlint/unclosed-here-doc.test b/t/chainlint/unclosed-here-doc.test new file mode 100644 index 0000000000..68e78f06f3 --- /dev/null +++ b/t/chainlint/unclosed-here-doc.test @@ -0,0 +1,9 @@ +test_expect_success 'unclosed-here-doc' ' +command_which_is_run && +cat >expect <<\EOF && + we try to end the here-doc below, + but the indentation throws us off + since the operator is not "<<-". + EOF +command_which_is_gobbled +' |