summaryrefslogtreecommitdiff
path: root/t/chainlint/command-substitution.test
blob: 3bbb002a4c746c8e4cdd4cb9b80e60224b3bd2a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
(
	foo &&
# LINT: closing ")" of $(...) not misinterpreted as subshell-closing ")"
	bar=$(gobble) &&
	baz
) &&
(
# LINT: missing "&&" on $(...)
	bar=$(gobble blocks)
	baz
)