repo.or.cz
/
git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
revision.c: better error reporting on ref from different worktrees
[git.git]
/
t
/
chainlint
/
multi-line-string.test
blob
287ab897054874972076ec6913bf8c8144196296
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
)