sanity: fixes #417

* tests/sanity/style.test: Here.
This commit is contained in:
Etienne Renault 2020-06-09 13:06:12 +02:00
parent 47b31bd9eb
commit 6a12b77360

View file

@ -208,7 +208,8 @@ for dir in "$TOP/spot" "$TOP/bin" "$TOP/tests"; do
# The 'r' allows operator&& # The 'r' allows operator&&
# The '.' allows &&... # The '.' allows &&...
$GREP '[^ r]&&[^ .]' $tmp && # The ')' allows foo(bar&&)
$GREP '[^ r]&&[^ .)]' $tmp &&
diag 'Space around binary operators.' diag 'Space around binary operators.'
# The 'r' allows operator|| # The 'r' allows operator||