summaryrefslogtreecommitdiffstats
path: root/t/chainlint/loop-in-if.test
blob: dfcc3f98fb11ce442100f39c844382e2719997ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(
	if true
	then
		while true
		do
# LINT: missing "&&" on "echo"
			echo "pop"
			echo "glup"
# LINT: missing "&&" on "done"
		done
		foo
# LINT: missing "&&" on "fi"
	fi
	bar
)