Sign in
googlers
/
jrn
/
git
/
refs/heads/maint
/
.
/
t
/
chainlint
/
negated-one-liner.test
blob: 30f4cc5a9b21f94b3d5b78c7fc57e7b141947088 [
file
] [
log
] [
blame
]
test_expect_success
'negated-one-liner'
'
# LINT: top-level one-liner subshell
! (foo && bar) &&
! (foo && bar) >baz &&
# LINT: top-level one-liner subshell missing internal "&&"
! (foo; bar) &&
! (foo; bar) >baz
'