git
[Ported from github.com/git/git] Sync with Git 2.56.1
Brought by drakestapleton
git / t / chainlint / multi-line-nested-command-substitution.test
| 1 | test_expect_success 'multi-line-nested-command-substitution' ' |
| 2 | ( |
| 3 | foo && |
| 4 | x=$( |
| 5 | echo bar | |
| 6 | cat |
| 7 | ) && |
| 8 | echo ok |
| 9 | ) | |
| 10 | sort && |
| 11 | ( |
| 12 | bar && |
| 13 | x=$(echo bar | |
| 14 | cat |
| 15 | ) && |
| 16 | y=$(echo baz | |
| 17 | fip) && |
| 18 | echo fail |
| 19 | ) |
| 20 | ' |