aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy/servo_tidy_tests/test_tidy.py
diff options
context:
space:
mode:
authorClément DAVID <c.david86@gmail.com>2017-08-21 22:56:05 +0200
committerClément DAVID <c.david86@gmail.com>2017-08-23 21:04:14 +0200
commitab73f3d61d895289898821272f6af2665c9c645c (patch)
tree7344ed312ff00f28afc9d97a29f44139bc5de655 /python/tidy/servo_tidy_tests/test_tidy.py
parent16c1446137317b7e974d65119d2187b81f0d2394 (diff)
downloadservo-ab73f3d61d895289898821272f6af2665c9c645c.tar.gz
servo-ab73f3d61d895289898821272f6af2665c9c645c.zip
Automatically verify that derive() lists are alphabetically ordered
Diffstat (limited to 'python/tidy/servo_tidy_tests/test_tidy.py')
-rw-r--r--python/tidy/servo_tidy_tests/test_tidy.py1
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 df8bf316cd0..73a37cd4612 100644
--- a/python/tidy/servo_tidy_tests/test_tidy.py
+++ b/python/tidy/servo_tidy_tests/test_tidy.py
@@ -107,6 +107,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.assertTrue('derivable traits list 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])