From 5a7570bf7d99c1329bf767ac3f75bd80a0555b5d Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Thu, 13 Apr 2017 00:27:41 +0400 Subject: [PATCH] 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 60bd6842e40a0e94810bcc710c732049455f7329. Fix by changing the expected result to contain a single ampersand instead of double. --- tests/controls/markuptest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/controls/markuptest.cpp b/tests/controls/markuptest.cpp index 6bd5e9d6f6..d251565115 100644 --- a/tests/controls/markuptest.cpp +++ b/tests/controls/markuptest.cpp @@ -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( "<O'Reilly>", "" ); CHECK_DOESNT_PARSE( "<" );