From 2fa156988e00f6766b9a32c892a3570868b71ab1 Mon Sep 17 00:00:00 2001 From: calvin Date: Wed, 8 Dec 2004 16:27:03 +0000 Subject: [PATCH] xhtml tests added git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2113 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- linkcheck/tests/test_parser.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 = [