mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Warn about empty lines following an open brace.
This commit is contained in:
parent
3ab5c07559
commit
4ebc065cba
2 changed files with 8 additions and 2 deletions
|
@ -58,6 +58,7 @@ class CheckTidiness(unittest.TestCase):
|
|||
self.assertTrue('mod declaration is not in alphabetical order' in errors.next()[2])
|
||||
self.assertEqual('mod declaration spans multiple lines', errors.next()[2])
|
||||
self.assertTrue('extern crate declaration is not in alphabetical order' in errors.next()[2])
|
||||
self.assertEqual('found an empty line following a {', errors.next()[2])
|
||||
self.assertEqual('missing space before ->', errors.next()[2])
|
||||
self.assertEqual('missing space after ->', errors.next()[2])
|
||||
self.assertEqual('missing space after :', errors.next()[2])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue