range-diff: use a hunk callback
[git.git] / t / chainlint / subshell-here-doc.test
blobf6b3ba4214a41de2ca9f9b91d2407e2f9dc4683c
2 # LINT: stitch together incomplete \-ending lines
3 # LINT: swallow here-doc to avoid false positives in content
4         echo wobba \
5                gorgo snoot \
6                wafta snurb <<-EOF &&
7         quoth the raven,
8         nevermore...
9         EOF
11 # LINT: missing "&&" on 'cat'
12         cat <<EOF >bip
13         fish fly high
14         EOF
16 # LINT: swallow here-doc (EOF is last line of subshell)
17         echo <<-\EOF >bop
18         gomez
19         morticia
20         wednesday
21         pugsly
22         EOF
23 ) &&
25 # LINT: swallow here-doc with arbitrary tag
26         cat <<-\ARBITRARY >bup &&
27         glink
28         FIZZ
29         ARBITRARY
30         cat <<-'ARBITRARY2' >bup2 &&
31         glink
32         FIZZ
33         ARBITRARY2
34         cat <<-"ARBITRARY3" >bup3 &&
35         glink
36         FIZZ
37         ARBITRARY3
38         meep