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 / multi-line-nested-command-substitution.test

20 lines · 204 bytes Raw Blame History
1test_expect_success 'multi-line-nested-command-substitution' '
2(
3 foo &&
4 x=$(
5 echo bar |
6 cat
7 ) &&
8 echo ok
9) |
10sort &&
11(
12 bar &&
13 x=$(echo bar |
14 cat
15 ) &&
16 y=$(echo baz |
17 fip) &&
18 echo fail
19)
20'