From d949642d76deff49994e712abfe74a654b16dd49 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 16 May 2013 01:45:42 +0000 Subject: [PATCH] Enable wxAny::GetAs() test. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/any/anytest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.0