about summary refs log blame commit diff
path: root/t/chainlint/nested-cuddled-subshell.test
blob: 8fd656c7b598acfb19f026f1368f75e980766f04 (plain) (tree)






























                                                                    
(
# LINT: opening "(" cuddled with first nested subshell statement
	(cd foo &&
		bar
	) &&

# LINT: same but "&&" missing
	(cd foo &&
		bar
	)

# LINT: closing ")" cuddled with final nested subshell statement
	(
		cd foo &&
		bar) &&

# LINT: same but "&&" missing
	(
		cd foo &&
		bar)

# LINT: "(" and ")" cuddled with first and final subshell statements
	(cd foo &&
		bar) &&

# LINT: same but "&&" missing
	(cd foo &&
		bar)

	foobar
)