summaryrefslogtreecommitdiff
path: root/t/chainlint/multi-line-nested-command-substitution.test
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/multi-line-nested-command-substitution.test')
-rw-r--r--t/chainlint/multi-line-nested-command-substitution.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/t/chainlint/multi-line-nested-command-substitution.test b/t/chainlint/multi-line-nested-command-substitution.test
new file mode 100644
index 0000000000..ca0620ab6b
--- /dev/null
+++ b/t/chainlint/multi-line-nested-command-substitution.test
@@ -0,0 +1,9 @@
+(
+ foo &&
+ x=$(
+ echo bar |
+ cat
+ ) &&
+ echo ok
+) |
+sort