summaryrefslogtreecommitdiff
path: root/t/chainlint/not-heredoc.test
blob: 09711e45e052e6eb26dfc64625f75408b51f7ae8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
'