diff options
author | lucantrop <luka.hadzi@gmail.com> | 2017-03-13 13:13:46 +0100 |
---|---|---|
committer | lucantrop <luka.hadzi@gmail.com> | 2017-03-13 17:38:32 +0100 |
commit | b1faaa15dcae2c0ba3bebd9d668ce9e3b231932c (patch) | |
tree | 0d50277b32c18f723120f790652be2e060311ecc /python/tidy/servo_tidy_tests/test_tidy.py | |
parent | 94c344a01422ef39c216f27bdcb3046f3ecf84ef (diff) | |
download | servo-b1faaa15dcae2c0ba3bebd9d668ce9e3b231932c.tar.gz servo-b1faaa15dcae2c0ba3bebd9d668ce9e3b231932c.zip |
added tidy check for -> ()
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 fcc11cb673f..a50d92b241e 100644 --- a/python/tidy/servo_tidy_tests/test_tidy.py +++ b/python/tidy/servo_tidy_tests/test_tidy.py @@ -123,6 +123,7 @@ class CheckTidiness(unittest.TestCase): self.assertEqual('use &[T] instead of &Vec<T>', errors.next()[2]) self.assertEqual('use &str instead of &String', errors.next()[2]) self.assertEqual('use &T instead of &Root<T>', errors.next()[2]) + self.assertEqual('encountered function signature with -> ()', errors.next()[2]) self.assertEqual('operators should go at the end of the first line', errors.next()[2]) self.assertEqual('else braces should be on the same line', errors.next()[2]) self.assertEqual('extra space after (', errors.next()[2]) |