Fix failing unit test in MarkupTestCase

One of the wxMarkupParser tests expects "&" to map to "&&" however
this, purposefully, is not the case any longer since
60bd6842e4. Fix by changing the expected
result to contain a single ampersand instead of double.
This commit is contained in:
Dimitri Schoolwerth 2017-04-13 00:27:41 +04:00
parent c7a6cb9c2e
commit 5a7570bf7d

View File

@ -175,7 +175,7 @@ void MarkupTestCase::RoundTrip()
);
CHECK_PARSES_OK( "foo&bar" );
CHECK_PARSES_AS( "foo&bar", "foo&&bar" );
CHECK_PARSES_AS( "foo&bar", "foo&bar" );
CHECK_PARSES_AS( "&lt;O&apos;Reilly&gt;", "<O'Reilly>" );
CHECK_DOESNT_PARSE( "<" );