interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / t / chainlint / command-substitution.test

13 lines · 220 bytes Raw Blame History
1test_expect_success 'command-substitution' '
2(
3 foo &&
4# LINT: closing ")" of $(...) not misinterpreted as subshell-closing ")"
5 bar=$(gobble) &&
6 baz
7) &&
8(
9# LINT: missing "&&" on $(...)
10 bar=$(gobble blocks)
11 baz
12)
13'