summaryrefslogtreecommitdiff
path: root/t/chainlint/multi-line-nested-command-substitution.expect
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/multi-line-nested-command-substitution.expect')
-rw-r--r--t/chainlint/multi-line-nested-command-substitution.expect11
1 files changed, 10 insertions, 1 deletions
diff --git a/t/chainlint/multi-line-nested-command-substitution.expect b/t/chainlint/multi-line-nested-command-substitution.expect
index 19c023b1c8..59b6c8b850 100644
--- a/t/chainlint/multi-line-nested-command-substitution.expect
+++ b/t/chainlint/multi-line-nested-command-substitution.expect
@@ -6,4 +6,13 @@
>> ) &&
echo ok
>) |
-sort
+sort &&
+(
+ bar &&
+ x=$(echo bar |
+ cat
+>> ) &&
+ y=$(echo baz |
+>> fip) &&
+ echo fail
+>)