summaryrefslogtreecommitdiff
path: root/t/chainlint/nested-subshell.expect
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/nested-subshell.expect')
-rw-r--r--t/chainlint/nested-subshell.expect13
1 files changed, 13 insertions, 0 deletions
diff --git a/t/chainlint/nested-subshell.expect b/t/chainlint/nested-subshell.expect
new file mode 100644
index 0000000000..a8d85d5d5b
--- /dev/null
+++ b/t/chainlint/nested-subshell.expect
@@ -0,0 +1,13 @@
+2 (
+3 cd foo &&
+4 (
+5 echo a &&
+6 echo b
+7 ) >file &&
+8
+9 cd foo &&
+10 (
+11 echo a ?!LINT: missing '&&'?!
+12 echo b
+13 ) >file
+14 )