diff options
Diffstat (limited to 't/chainlint/negated-one-liner.test')
-rw-r--r-- | t/chainlint/negated-one-liner.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/t/chainlint/negated-one-liner.test b/t/chainlint/negated-one-liner.test new file mode 100644 index 000000000000..c9598e915307 --- /dev/null +++ b/t/chainlint/negated-one-liner.test @@ -0,0 +1,7 @@ +# LINT: top-level one-liner subshell +! (foo && bar) && +! (foo && bar) >baz && + +# LINT: top-level one-liner subshell missing internal "&&" +! (foo; bar) && +! (foo; bar) >baz |