summaryrefslogtreecommitdiff
path: root/t/chainlint/pipe.test
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/pipe.test')
-rw-r--r--t/chainlint/pipe.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/t/chainlint/pipe.test b/t/chainlint/pipe.test
new file mode 100644
index 0000000000..1af81c243b
--- /dev/null
+++ b/t/chainlint/pipe.test
@@ -0,0 +1,14 @@
+test_expect_success 'pipe' '
+(
+# LINT: no "&&" needed on line ending with "|"
+ foo |
+ bar |
+ baz &&
+
+# LINT: final line of pipe sequence ("cow") lacking "&&"
+ fish |
+ cow
+
+ sunder
+)
+'