ensure the no-tab rule

* HACKING: Mention the no-tab rule.
* tests/sanity/style.test: Only test for it at the beginning of line.
This commit is contained in:
Alexandre Duret-Lutz 2016-03-10 17:16:41 +01:00
parent f7e7b4f14e
commit 73e4fcd033
2 changed files with 5 additions and 2 deletions

View file

@ -289,8 +289,8 @@ for dir in "$TOP/spot" "$TOP/bin" "$TOP/tests"; do
$GREP '#.*include.*<iostream>' $tmp &&
diag 'Avoid <iostream> in headers, better use <iosfwd>.'
fi
e$GREP ' ' $tmp &&
diag 'Use spaces instead of tabular.'
$GREP '^[ ]* ' $tmp &&
diag 'Use spaces instead of tabs.'
# Headers from spot/priv/ are not installed, so may only be
# included from *.cc files or from other spot/priv/ headers
# (in the latter case they do not have to specify the priv/