Commit 96b06b29 authored by Fred Drake's avatar Fred Drake

Revise a test that requires "<tag attr=>" to be accepted -- it is not!

parent 03170ed2
......@@ -96,8 +96,8 @@ class HTMLTALParserTestCases(TestCaseBase):
"""<a b='xxx\n\txxx' c="yyy\t\nyyy" d='\txyz\n'>""", [
('rawtext',
'<a b="xxx\n\txxx" c="yyy\t\nyyy" d="\txyz\n"></a>')])
self._run_check("""<a b='' c="" d=>""", [
('rawtext', '<a b="" c="" d=""></a>'),
self._run_check("""<a b='' c="">""", [
('rawtext', '<a b="" c=""></a>'),
])
def check_code_attr_entity_replacement(self):
......
......@@ -96,8 +96,8 @@ class HTMLTALParserTestCases(TestCaseBase):
"""<a b='xxx\n\txxx' c="yyy\t\nyyy" d='\txyz\n'>""", [
('rawtext',
'<a b="xxx\n\txxx" c="yyy\t\nyyy" d="\txyz\n"></a>')])
self._run_check("""<a b='' c="" d=>""", [
('rawtext', '<a b="" c="" d=""></a>'),
self._run_check("""<a b='' c="">""", [
('rawtext', '<a b="" c=""></a>'),
])
def check_code_attr_entity_replacement(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment