summaryrefslogtreecommitdiffstats
path: root/t/chainlint/chained-block.test
blob: 86f81ece63903fb91e0ed861d01bb38f896fabd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
# LINT: start of block chained to preceding command
echo nobody home && {
	test the doohicky
	right now
} &&

# LINT: preceding command pipes to block on same line
GIT_EXTERNAL_DIFF=echo git diff | {
	read path oldfile oldhex oldmode newfile newhex newmode &&
	test "z$oh" = "z$oldhex"
}