diff --git a/linkcheck/tests/test_parser.py b/linkcheck/tests/test_parser.py index dcd7dc3a..610676d9 100644 --- a/linkcheck/tests/test_parser.py +++ b/linkcheck/tests/test_parser.py @@ -79,8 +79,10 @@ parsetests = [ ("""< /a>""", """"""), # missing > in end tag ("""""", """"""), - # start and end tag - ("""""", """"""), + # start and end tag (HTML doctype assumed) + ("""""", """"""), + ("""""", """"""), + ("""""", """"""), # declaration tags ("""""", """"""), @@ -117,6 +119,9 @@ parsetests = [ # mailto link ("""1""", """1"""), + # doctype XHTML + ("""""", + """"""), ] flushtests = [