fixed broken wxCStrData and operator?: check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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)) );
|
||||
|
Reference in New Issue
Block a user