* tests/sanity/style.test: Fix spurious failure.

This commit is contained in:
Alexandre Duret-Lutz 2024-04-19 09:43:50 +02:00
parent 2ffdd84942
commit c5490428be

View file

@ -226,7 +226,7 @@ for dir in "$TOP/spot" "$TOP/bin" "$TOP/tests"; do
$GREP 'operator[^a-zA-Z0-9_(]*[ ][^a-zA-Z0-9_(]*(' $tmp &&
diag 'Write operatorXX(...) without spaces around XX.'
$GREP 'operator[^(]* (' $tmp &&
$GREP 'operator[^(s]* (' $tmp &&
diag 'No space before ('
$GREP '[ ]default:[^:].*;' $tmp &&