Merge branch 'jc/calloc-fix'
[git] / t / chainlint / multi-line-string.test
1 (
2         x="line 1
3                 line 2
4                 line 3" &&
5 # LINT: missing "&&" on assignment
6         y='line 1
7                 line2'
8         foobar
9 ) &&
10 (
11 # LINT: apostrophe (in a contraction) within string not misinterpreted as
12 # LINT: starting multi-line single-quoted string
13         echo "there's nothing to see here" &&
14         exit
15 ) &&
16 (
17         echo "xyz" "abc
18                 def
19                 ghi" &&
20         echo 'xyz' 'abc
21                 def
22                 ghi' &&
23         echo 'xyz' "abc
24                 def
25                 ghi" &&
26         barfoo
27 )