diff options
author | Zbynek Winkler <zbynek.winkler@gmail.com> | 2016-04-20 16:39:43 +0200 |
---|---|---|
committer | Zbynek Winkler <zbynek.winkler@gmail.com> | 2016-04-22 14:28:20 +0200 |
commit | 39780ca39f2beff6c0f8e55eab75022b27cd046e (patch) | |
tree | 90c790430c41d66b54b389e5fd1262bf64fd934e /python/tidy/servo_tidy_tests/test_tidy.py | |
parent | 924d804583dc6c7b4216582e19afa0177340d3e3 (diff) | |
download | servo-39780ca39f2beff6c0f8e55eab75022b27cd046e.tar.gz servo-39780ca39f2beff6c0f8e55eab75022b27cd046e.zip |
Report lines starting with &&.
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 69bb4ae4e46..f61c7961195 100644 --- a/python/tidy/servo_tidy_tests/test_tidy.py +++ b/python/tidy/servo_tidy_tests/test_tidy.py @@ -70,6 +70,7 @@ class CheckTidiness(unittest.TestCase): self.assertEqual('extra space before :', errors.next()[2]) self.assertEqual('use &[T] instead of &Vec<T>', errors.next()[2]) self.assertEqual('use &str instead of &String', errors.next()[2]) + self.assertEqual('operators should go at the end of the first line', errors.next()[2]) self.assertNoMoreErrors(errors) def test_spec_link(self): |