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
The eighth batch
[git.git]
/
t
/
chainlint
/
cuddled-if-then-else.test
blob
b1b42e1aac8d90b2894f70c65de897247baec9f9
1
test_expect_success 'cuddled-if-then-else' '
2
# LINT: "if" cuddled with "(" and ")"; indented with spaces, not tabs
3
(if test -z ""; then
4
echo empty
5
else
6
echo bizzy
7
fi) &&
8
echo foobar
9
'