From: Vadim Zeitlin <vadim@wxwidgets.org> Date: Sun, 12 May 2013 19:19:46 +0000 (+0000) Subject: Enable another test in wxAnyTestCase under OS X. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a4c7b5e4358b0fb0ebbb489f2156fa4e139b2211 Enable another test in wxAnyTestCase under OS X. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/any/anytest.cpp b/tests/any/anytest.cpp index 28826093a3..7494682081 100644 --- a/tests/any/anytest.cpp +++ b/tests/any/anytest.cpp @@ -356,11 +356,11 @@ void wxAnyTestCase::GetAs() // should not work. CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&l)); CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&ul)); + CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&f)); // FIXME: Something in this test results in heap corruption under PPC // OS X, disable it to at least allow the subsequent tests to run as // otherwise the test program just crashes. #ifndef __WXOSX__ - CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&f)); CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&b)); // Let's test some other conversions from string that should work.