From a3b7db872925df2921f36637a84085ec04cf977a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 16 Jul 2013 14:10:11 +0000 Subject: [PATCH] No changes, just get rid of some wxT()s in wxString unit test. They were unnecessary and cluttered the code too much. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/strings/strings.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/strings/strings.cpp b/tests/strings/strings.cpp index a0485c9007..be0746781d 100644 --- a/tests/strings/strings.cpp +++ b/tests/strings/strings.cpp @@ -397,17 +397,17 @@ void StringTestCase::Match() #define TEST_MATCH( s1 , s2 , result ) \ CPPUNIT_ASSERT( wxString(s1).Matches(s2) == result ) - TEST_MATCH( wxT("foobar"), wxT("foo*"), true ); - TEST_MATCH( wxT("foobar"), wxT("*oo*"), true ); - TEST_MATCH( wxT("foobar"), wxT("*bar"), true ); - TEST_MATCH( wxT("foobar"), wxT("??????"), true ); - TEST_MATCH( wxT("foobar"), wxT("f??b*"), true ); - TEST_MATCH( wxT("foobar"), wxT("f?b*"), false ); - TEST_MATCH( wxT("foobar"), wxT("*goo*"), false ); - TEST_MATCH( wxT("foobar"), wxT("*foo"), false ); - TEST_MATCH( wxT("foobarfoo"), wxT("*foo"), true ); - TEST_MATCH( wxT(""), wxT("*"), true ); - TEST_MATCH( wxT(""), wxT("?"), false ); + TEST_MATCH( "foobar", "foo*", true ); + TEST_MATCH( "foobar", "*oo*", true ); + TEST_MATCH( "foobar", "*bar", true ); + TEST_MATCH( "foobar", "??????", true ); + TEST_MATCH( "foobar", "f??b*", true ); + TEST_MATCH( "foobar", "f?b*", false ); + TEST_MATCH( "foobar", "*goo*", false ); + TEST_MATCH( "foobar", "*foo", false ); + TEST_MATCH( "foobarfoo", "*foo", true ); + TEST_MATCH( "", "*", true ); + TEST_MATCH( "", "?", false ); #undef TEST_MATCH } -- 2.45.2