mirror of
https://github.com/servo/servo.git
synced 2025-06-18 05:14:28 +00:00
add &Root<T> checker
update rust_tidy tests update rust_tidy.rs and test_tidy.py
This commit is contained in:
parent
c193af8c32
commit
a17ae72414
3 changed files with 4 additions and 1 deletions
|
@ -72,6 +72,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('use &T instead of &Root<T>', errors.next()[2])
|
||||
self.assertEqual('operators should go at the end of the first line', errors.next()[2])
|
||||
self.assertNoMoreErrors(errors)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue