From: Václav Slavík Date: Tue, 24 Apr 2007 12:35:30 +0000 (+0000) Subject: fixed broken wxCStrData and operator?: check X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9ffb659a29919871db95e1c90015299cb0847da3 fixed broken wxCStrData and operator?: check git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/strings/strings.cpp b/tests/strings/strings.cpp index 778834b91d..e66615565b 100644 --- a/tests/strings/strings.cpp +++ b/tests/strings/strings.cpp @@ -683,9 +683,9 @@ void StringTestCase::DoCStrDataTernaryOperator(bool cond) const wchar_t *wcStr = L"foo"; CPPUNIT_ASSERT( CheckStr(s, (cond ? s.c_str() : wcStr)) ); - CPPUNIT_ASSERT( CheckStr(s, (cond ? s.c_str() : L"bar")) ); + CPPUNIT_ASSERT( CheckStr(s, (cond ? s.c_str() : L"foo")) ); CPPUNIT_ASSERT( CheckStr(s, (cond ? wcStr : s.c_str())) ); - CPPUNIT_ASSERT( CheckStr(s, (cond ? L"bar" : s.c_str())) ); + CPPUNIT_ASSERT( CheckStr(s, (cond ? L"foo" : s.c_str())) ); const char *mbStr = "foo"; CPPUNIT_ASSERT( CheckStr(s, (cond ? s.c_str() : mbStr)) );