diff options
Diffstat (limited to 't/chainlint/not-heredoc.test')
-rw-r--r-- | t/chainlint/not-heredoc.test | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/t/chainlint/not-heredoc.test b/t/chainlint/not-heredoc.test new file mode 100644 index 0000000000..09711e45e0 --- /dev/null +++ b/t/chainlint/not-heredoc.test @@ -0,0 +1,18 @@ +test_expect_success 'not-heredoc' ' +# LINT: "<< ours" inside string is not here-doc +echo "<<<<<<< ours" && +echo ourside && +echo "=======" && +echo theirside && +echo ">>>>>>> theirs" && + +( +# LINT: "<< ours" inside string is not here-doc + echo "<<<<<<< ours" && + echo ourside && + echo "=======" && + echo theirside && + echo ">>>>>>> theirs" + poodle +) >merged +' |