This commit is contained in:
Kovid Goyal 2024-09-18 15:49:15 +05:30
parent 07037ddeb3
commit 3e31324312
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -23,6 +23,7 @@ class TestTransform(SimpleTest):
t('<p>abc<span>def</span><script>x yz', 6) t('<p>abc<span>def</span><script>x yz', 6)
t('<p>abc<span>def</span><style>x yz', 6) t('<p>abc<span>def</span><style>x yz', 6)
t('<p>abc<span>def</span>x yz<img>howdy', 1014) t('<p>abc<span>def</span>x yz<img>howdy', 1014)
t('<p>abc<span>def</span>x yz<img><!-- howdy -->howdy', 1014)
def test_number_parsing(self): def test_number_parsing(self):
for x in '.314 -.314 0.314 0 2 +2 -1 1e2 -3.14E+2 2e-2'.split(): for x in '.314 -.314 0.314 0 2 +2 -1 1e2 -3.14E+2 2e-2'.split():