* src/sanity/style.test: Catch {.*{ and }.*}.
* src/sanity/80columns.test: Untabify files. * iface/gspn/ltlgspn.cc, src/ltlvisit/basereduc.cc: Fix long lines.
This commit is contained in:
parent
3426ece95c
commit
7eb5f3d81a
5 changed files with 131 additions and 106 deletions
|
|
@ -98,6 +98,12 @@ for dir in "${INCDIR-..}" "${INCDIR-..}"/../iface; do
|
|||
grep -v 'for (;;)' $tmp | grep ';[^ ")]' &&
|
||||
diag 'Must have space or newline after semicolon.'
|
||||
|
||||
grep '}.*}' $tmp &&
|
||||
diag 'No two } on the same line.'
|
||||
|
||||
grep '{.*{' $tmp &&
|
||||
diag 'No two { on the same line.'
|
||||
|
||||
$fail && echo "$file" >>failures
|
||||
done
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue