diff options
Diffstat (limited to 't/chainlint/here-doc-multi-line-command-subst.test')
-rw-r--r-- | t/chainlint/here-doc-multi-line-command-subst.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/t/chainlint/here-doc-multi-line-command-subst.test b/t/chainlint/here-doc-multi-line-command-subst.test new file mode 100644 index 0000000000..8710a8c483 --- /dev/null +++ b/t/chainlint/here-doc-multi-line-command-subst.test @@ -0,0 +1,11 @@ +test_expect_success 'here-doc-multi-line-command-subst' ' +( +# LINT: line contains here-doc and opens multi-line $(...) + x=$(bobble <<-\END && + fossil + vegetable + END + wiffle) + echo $x +) +' |