summaryrefslogtreecommitdiff
path: root/t/chainlint/one-liner-for-loop.expect
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/one-liner-for-loop.expect')
-rw-r--r--t/chainlint/one-liner-for-loop.expect9
1 files changed, 9 insertions, 0 deletions
diff --git a/t/chainlint/one-liner-for-loop.expect b/t/chainlint/one-liner-for-loop.expect
new file mode 100644
index 0000000000..e1fcbd3639
--- /dev/null
+++ b/t/chainlint/one-liner-for-loop.expect
@@ -0,0 +1,9 @@
+2 git init dir-rename-and-content &&
+3 (
+4 cd dir-rename-and-content &&
+5 test_write_lines 1 2 3 4 5 >foo &&
+6 mkdir olddir &&
+7 for i in a b c; do echo $i >olddir/$i; ?!LINT: missing '|| exit 1'?! done ?!LINT: missing '&&'?!
+8 git add foo olddir &&
+9 git commit -m "original" &&
+10 )