diff options
Diffstat (limited to 'python/tidy/test.py')
-rw-r--r-- | python/tidy/test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/tidy/test.py b/python/tidy/test.py index 490c77edec9..92f9494013f 100644 --- a/python/tidy/test.py +++ b/python/tidy/test.py @@ -70,8 +70,8 @@ class CheckTidiness(unittest.TestCase): def test_whatwg_link(self): errors = tidy.collect_errors_for_files(iterFile('whatwg_link.rs'), [], [tidy.check_by_line], print_text=False) - self.assertTrue('link to WHATWG may break in the future, use this format instead:' in next(errors)[2]) - self.assertTrue('links to WHATWG single-page url, change to multi page:' in next(errors)[2]) + self.assertEqual('link to WHATWG may break in the future, use this format instead: https://html.spec.whatwg.org/multipage/#dom-context-2d-putimagedata', next(errors)[2]) + self.assertEqual('links to WHATWG single-page url, change to multi page: https://html.spec.whatwg.org/multipage/#typographic-conventions', next(errors)[2]) self.assertNoMoreErrors(errors) def test_license(self): |