From: Vadim Zeitlin Date: Wed, 15 May 2013 20:02:01 +0000 (+0000) Subject: Reenable m_anyBool1 tests in wxAny test case too. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/52e4cd7308ab8c026a90108013f78affc8dd7fbd Reenable m_anyBool1 tests in wxAny test case too. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/any/anytest.cpp b/tests/any/anytest.cpp index 5c5c9e16ee..c5ee05de2a 100644 --- a/tests/any/anytest.cpp +++ b/tests/any/anytest.cpp @@ -393,7 +393,6 @@ void wxAnyTestCase::GetAs() CPPUNIT_ASSERT(res); CPPUNIT_ASSERT(b == false); -#ifndef wxDONT_TEST // Conversions from bool type res = m_anyBool1.GetAs(&l); CPPUNIT_ASSERT(res); @@ -406,6 +405,7 @@ void wxAnyTestCase::GetAs() CPPUNIT_ASSERT(s == "true"); CPPUNIT_ASSERT(!m_anyBool1.GetAs(&f)); +#ifndef wxDONT_TEST // Conversions from floating point type res = m_anyDoubleDouble1.GetAs(&l); CPPUNIT_ASSERT(res);