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.test11
1 files changed, 10 insertions, 1 deletions
diff --git a/t/chainlint/multi-line-nested-command-substitution.test b/t/chainlint/multi-line-nested-command-substitution.test
index ca0620ab6b..300058341b 100644
--- a/t/chainlint/multi-line-nested-command-substitution.test
+++ b/t/chainlint/multi-line-nested-command-substitution.test
@@ -6,4 +6,13 @@
) &&
echo ok
) |
-sort
+sort &&
+(
+ bar &&
+ x=$(echo bar |
+ cat
+ ) &&
+ y=$(echo baz |
+ fip) &&
+ echo fail
+)