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:
parent
c7a6cb9c2e
commit
5a7570bf7d
@ -175,7 +175,7 @@ void MarkupTestCase::RoundTrip()
|
|||||||
);
|
);
|
||||||
|
|
||||||
CHECK_PARSES_OK( "foo&bar" );
|
CHECK_PARSES_OK( "foo&bar" );
|
||||||
CHECK_PARSES_AS( "foo&bar", "foo&&bar" );
|
CHECK_PARSES_AS( "foo&bar", "foo&bar" );
|
||||||
CHECK_PARSES_AS( "<O'Reilly>", "<O'Reilly>" );
|
CHECK_PARSES_AS( "<O'Reilly>", "<O'Reilly>" );
|
||||||
|
|
||||||
CHECK_DOESNT_PARSE( "<" );
|
CHECK_DOESNT_PARSE( "<" );
|
||||||
|
Loading…
Reference in New Issue
Block a user