aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy/servo_tidy_tests/test_tidy.py
diff options
context:
space:
mode:
authoraeischeid <a.eischeid@gmail.com>2016-05-11 16:19:17 -0500
committeraeischeid <a.eischeid@gmail.com>2016-05-11 16:19:17 -0500
commitfa4665e2a74dc324f3e03cd8342e9abb151133c2 (patch)
treeead8ba1171120c5708c78b0f85c0a95a1d73022a /python/tidy/servo_tidy_tests/test_tidy.py
parenta85db48623d8f5b5dbddbcc1f1ba0eaa0b531249 (diff)
downloadservo-fa4665e2a74dc324f3e03cd8342e9abb151133c2.tar.gz
servo-fa4665e2a74dc324f3e03cd8342e9abb151133c2.zip
add tidy test for 'missing space after :' in stucts
Diffstat (limited to 'python/tidy/servo_tidy_tests/test_tidy.py')
-rw-r--r--python/tidy/servo_tidy_tests/test_tidy.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/tidy/servo_tidy_tests/test_tidy.py b/python/tidy/servo_tidy_tests/test_tidy.py
index fca54fd66d9..55dbb4ce21a 100644
--- a/python/tidy/servo_tidy_tests/test_tidy.py
+++ b/python/tidy/servo_tidy_tests/test_tidy.py
@@ -66,6 +66,8 @@ class CheckTidiness(unittest.TestCase):
self.assertEqual('missing space before -', errors.next()[2])
self.assertEqual('missing space before *', errors.next()[2])
self.assertEqual('missing space after =>', errors.next()[2])
+ self.assertEqual('missing space after :', errors.next()[2])
+ self.assertEqual('missing space after :', errors.next()[2])
self.assertEqual('extra space before :', errors.next()[2])
self.assertEqual('extra space before :', errors.next()[2])
self.assertEqual('use &[T] instead of &Vec<T>', errors.next()[2])