diff options
Diffstat (limited to 'third_party/git/t/chainlint/negated-one-liner.test')
-rw-r--r-- | third_party/git/t/chainlint/negated-one-liner.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/git/t/chainlint/negated-one-liner.test b/third_party/git/t/chainlint/negated-one-liner.test new file mode 100644 index 000000000000..c9598e915307 --- /dev/null +++ b/third_party/git/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 |