diff options
author | Josh Matthews <josh@joshmatthews.net> | 2016-05-27 11:48:28 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2016-05-27 13:30:51 -0400 |
commit | 4ebc065cba15184c8f63a28f128ec833fffccef7 (patch) | |
tree | ab0488d3adf6f9bec1d2a20f5c52d9abd4bf63c9 /python/tidy/servo_tidy_tests/test_tidy.py | |
parent | 3ab5c075595f6bffe3062e26d91f4837fedbf19c (diff) | |
download | servo-4ebc065cba15184c8f63a28f128ec833fffccef7.tar.gz servo-4ebc065cba15184c8f63a28f128ec833fffccef7.zip |
Warn about empty lines following an open brace.
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 47c3d7780a3..c9291c1c2f2 100644 --- a/python/tidy/servo_tidy_tests/test_tidy.py +++ b/python/tidy/servo_tidy_tests/test_tidy.py @@ -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]) |