Code & Deploy
Code
Models
Repos
Sign in
@matheusbsbs
/
matheus-bagliano
matheus-bagliano
/
t
/
chainlint
/
negated-one-liner.test
Code
Commits
Pulls
CI/CD
81,841
master
bisect
jch
maint
master
next
seen
test
todo
test
9 lines
216 Bytes
Copy permalink
Copy
Raw
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
'