git
[Ported from github.com/git/git] Sync with Git 2.56.1
Brought by drakestapleton
git / t / chainlint / negated-one-liner.test
| 1 | test_expect_success 'negated-one-liner' ' |
| 2 | # LINT: top-level one-liner subshell |
| 3 | ! (foo && bar) && |
| 4 | ! (foo && bar) >baz && |
| 5 | |
| 6 | # LINT: top-level one-liner subshell missing internal "&&" |
| 7 | ! (foo; bar) && |
| 8 | ! (foo; bar) >baz |
| 9 | ' |