diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-04-22 10:40:06 -0700 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-04-22 10:40:06 -0700 |
commit | d926b5d3762a101d5280266f806f2b979f73b695 (patch) | |
tree | 07ca09b75004f11a8a7458251ac7fa1ad2fb0c10 /python/tidy/servo_tidy_tests/test_tidy.py | |
parent | 4da6855e2332ce433fd6d6ea9d84cbb940df2b41 (diff) | |
parent | 39780ca39f2beff6c0f8e55eab75022b27cd046e (diff) | |
download | servo-d926b5d3762a101d5280266f806f2b979f73b695.tar.gz servo-d926b5d3762a101d5280266f806f2b979f73b695.zip |
Auto merge of #10751 - zwn:tidy-start-operator, r=Wafflespeanut
Report lines starting with && in tidy
Partial implementation of the issue #10692 (the easy part).
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10751)
<!-- Reviewable:end -->
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): |