diff --git a/tests/any/anytest.cpp b/tests/any/anytest.cpp index c5ee05de2a..75de2f0212 100644 --- a/tests/any/anytest.cpp +++ b/tests/any/anytest.cpp @@ -405,11 +405,11 @@ 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); CPPUNIT_ASSERT(l == static_cast(123)); +#ifndef wxDONT_TEST res = m_anyDoubleDouble1.GetAs(&ul); CPPUNIT_ASSERT(res); CPPUNIT_ASSERT_EQUAL(ul, static_cast(123));