summaryrefslogtreecommitdiff
path: root/t/greplint/dqstring-continuation-offset.test
blob: b332bd8f3b8e659d38b9c1ef96de3193c97aabb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
# Double-quoted test bodies with backslash-continuation lines:
# the splice adjustment in check_test compensates for \<newline>
# lines that the lexer consumes without emitting into the body
# text, so the reported line number matches the source.
test_expect_success 'dqstring continuation offset' "
	x=\$(echo \
		hello) &&
	y=\$(echo \
		world) &&
	grep pattern file
"