about summary refs log tree commit diff
path: root/third_party/git/t/chainlint/loop-in-if.test
blob: 93e8ba8e4d9acdefcd9f6e716c6e109cf790ee45 (plain) (blame)
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
)