mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
07037ddeb3
commit
3e31324312
@ -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():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user