From: Vadim Zeitlin Date: Thu, 16 May 2013 01:45:42 +0000 (+0000) Subject: Enable wxAny::GetAs() test. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d949642d76deff49994e712abfe74a654b16dd49 Enable wxAny::GetAs() test. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/any/anytest.cpp b/tests/any/anytest.cpp index 75de2f0212..d8fd72069a 100644 --- a/tests/any/anytest.cpp +++ b/tests/any/anytest.cpp @@ -409,10 +409,10 @@ void wxAnyTestCase::GetAs() 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)); +#ifndef wxDONT_TEST res = m_anyDoubleDouble1.GetAs(&s); CPPUNIT_ASSERT(res); double d2;