diff options
author | UK992 <urbankrajnc92@gmail.com> | 2016-09-08 16:08:38 +0200 |
---|---|---|
committer | UK992 <urbankrajnc92@gmail.com> | 2016-09-09 04:42:30 +0200 |
commit | 875981ece592b03bcf06f16b6613ddabfa11133f (patch) | |
tree | 7827403e0f1ca3e17d1d5eb18d603596f32cef6e /python/tidy/servo_tidy_tests/test_tidy.py | |
parent | 5a5a76cc5db830d2e622d4e0924837383b64dfa2 (diff) | |
download | servo-875981ece592b03bcf06f16b6613ddabfa11133f.tar.gz servo-875981ece592b03bcf06f16b6613ddabfa11133f.zip |
Fix ordering `use` statements with braces
Diffstat (limited to 'python/tidy/servo_tidy_tests/test_tidy.py')
-rw-r--r-- | python/tidy/servo_tidy_tests/test_tidy.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/tidy/servo_tidy_tests/test_tidy.py b/python/tidy/servo_tidy_tests/test_tidy.py index c35e4b533d1..998967c617f 100644 --- a/python/tidy/servo_tidy_tests/test_tidy.py +++ b/python/tidy/servo_tidy_tests/test_tidy.py @@ -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]) |