From: Vadim Zeitlin Date: Thu, 16 May 2013 11:40:08 +0000 (+0000) Subject: Re-enable wxAny::GetAs() test. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3942aa77f5f737e668137a09ee197c7099c45a9e?ds=inline Re-enable wxAny::GetAs() test. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/any/anytest.cpp b/tests/any/anytest.cpp index d8fd72069a..3981f3d69d 100644 --- a/tests/any/anytest.cpp +++ b/tests/any/anytest.cpp @@ -412,9 +412,9 @@ void wxAnyTestCase::GetAs() 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); +#ifndef wxDONT_TEST double d2; res = s.ToDouble(&d2); CPPUNIT_ASSERT(res);