mirror of
https://github.com/catchorg/Catch2.git
synced 2025-11-04 14:09:33 +01:00
XmlWriter reverts to XML 1.0.
Character encodings that are not valid in XML 1.0 are instead written using C-style escapes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.1" encoding="UTF-8"?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Catch name="<exe-name>">
|
||||
<Group name="<exe-name>">
|
||||
<TestCase name="# A test name that starts with a #">
|
||||
@@ -8600,10 +8600,10 @@ there"
|
||||
<Section name="string with control char (1)">
|
||||
<Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" >
|
||||
<Original>
|
||||
encode( "[\x01]" ) == "[&#x01;]"
|
||||
encode( "[\x01]" ) == "[\\x01]"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"[&#x01;]" == "[&#x01;]"
|
||||
"[\x01]" == "[\x01]"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="1" failures="0" expectedFailures="0"/>
|
||||
@@ -8611,10 +8611,10 @@ there"
|
||||
<Section name="string with control char (x7F)">
|
||||
<Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" >
|
||||
<Original>
|
||||
encode( "[\x7F]" ) == "[&#x7F;]"
|
||||
encode( "[\x7F]" ) == "[\\x7F]"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"[&#x7F;]" == "[&#x7F;]"
|
||||
"[\x7F]" == "[\x7F]"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="1" failures="0" expectedFailures="0"/>
|
||||
|
||||
Reference in New Issue
Block a user