another batch after 2.47-rc0
[git.git] / t / chainlint / negated-one-liner.test
blob30f4cc5a9b21f94b3d5b78c7fc57e7b141947088
1 test_expect_success 'negated-one-liner' '
2 # LINT: top-level one-liner subshell
3 ! (foo && bar) &&
4 ! (foo && bar) >baz &&
6 # LINT: top-level one-liner subshell missing internal "&&"
7 ! (foo; bar) &&
8 ! (foo; bar) >baz