aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy/servo_tidy_tests/test_tidy.py
diff options
context:
space:
mode:
authorAlan Jeffrey <ajeffrey@mozilla.com>2017-06-06 15:38:35 -0500
committerAlan Jeffrey <ajeffrey@mozilla.com>2017-06-07 14:25:07 -0500
commit127008053881ad068673e2eeb3560b68f857dedf (patch)
tree8ca36e57f3ef215ed57bb6e4de3be51ba32c5a46 /python/tidy/servo_tidy_tests/test_tidy.py
parent7e273d6c9b86d6ffbf216e84ae7326976888e5ef (diff)
downloadservo-127008053881ad068673e2eeb3560b68f857dedf.tar.gz
servo-127008053881ad068673e2eeb3560b68f857dedf.zip
Count number of braces on a line in .
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 07dbaa020dc..e02e065bd10 100644
--- a/python/tidy/servo_tidy_tests/test_tidy.py
+++ b/python/tidy/servo_tidy_tests/test_tidy.py
@@ -155,6 +155,7 @@ class CheckTidiness(unittest.TestCase):
tidy.SPEC_BASE_PATH = base_path
errors = tidy.collect_errors_for_files(iterFile('speclink.rs'), [], [tidy.check_spec], print_text=False)
self.assertEqual('method declared in webidl is missing a comment with a specification link', errors.next()[2])
+ self.assertEqual('method declared in webidl is missing a comment with a specification link', errors.next()[2])
self.assertNoMoreErrors(errors)
def test_script_thread(self):