summaryrefslogtreecommitdiff
path: root/t/chainlint/if-condition-split.test
blob: 9a3b3ed04aa00485f4224e1aca9a0513cc6a0fe6 (plain)
1
2
3
4
5
6
7
8
9
10
test_expect_success 'if-condition-split' '
# LINT: "if" condition split across multiple lines at "&&" or "||"
if bob &&
   marcia ||
   kevin
then
	echo "nomads"
	echo "for sure"
fi
'