Fix unittests for previous commit
This commit is contained in:
parent
84b36c7109
commit
f83b03707b
1 changed files with 2 additions and 2 deletions
|
|
@ -1031,7 +1031,7 @@ class DoNotPrettyPrintWhenWhitespacePreserved(unittest.TestCase):
|
|||
def runTest(self):
|
||||
with open('unittests/whitespace-important.svg') as f:
|
||||
s = scour.scourString(f.read()).splitlines()
|
||||
c = '''<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
c = '''<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<text xml:space="preserve">This is some <tspan font-style="italic">messed-up</tspan> markup</text>
|
||||
</svg>
|
||||
|
|
@ -1044,7 +1044,7 @@ class DoNotPrettyPrintWhenNestedWhitespacePreserved(unittest.TestCase):
|
|||
def runTest(self):
|
||||
with open('unittests/whitespace-nested.svg') as f:
|
||||
s = scour.scourString(f.read()).splitlines()
|
||||
c = '''<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
c = '''<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<text xml:space="preserve"><tspan font-style="italic">Use <tspan font-style="bold">bold</tspan> text</tspan></text>
|
||||
</svg>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue