mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Fix ordering use
statements with braces
This commit is contained in:
parent
5a5a76cc5d
commit
875981ece5
2 changed files with 8 additions and 4 deletions
|
@ -85,6 +85,7 @@ class CheckTidiness(unittest.TestCase):
|
|||
self.assertEqual('missing space before }', errors.next()[2])
|
||||
self.assertTrue('use statement is not in alphabetical order' in errors.next()[2])
|
||||
self.assertEqual('use statement contains braces for single import', errors.next()[2])
|
||||
self.assertTrue('use statement is not in alphabetical order' in errors.next()[2])
|
||||
self.assertEqual('encountered whitespace following a use statement', errors.next()[2])
|
||||
self.assertTrue('mod declaration is not in alphabetical order' in errors.next()[2])
|
||||
self.assertEqual('mod declaration spans multiple lines', errors.next()[2])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue