]> git.saurik.com Git - wxWidgets.git/commitdiff
Re-enable wxAny<double>::GetAs<wxString>() test.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 16 May 2013 11:40:08 +0000 (11:40 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 16 May 2013 11:40:08 +0000 (11:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/any/anytest.cpp

index d8fd72069a20e1fcfb017d090a930123aafbe574..3981f3d69dd127f71960790b8c808605299e11bd 100644 (file)
@@ -412,9 +412,9 @@ void wxAnyTestCase::GetAs()
     res = m_anyDoubleDouble1.GetAs(&ul);
     CPPUNIT_ASSERT(res);
     CPPUNIT_ASSERT_EQUAL(ul, static_cast<unsigned long>(123));
-#ifndef wxDONT_TEST
     res = m_anyDoubleDouble1.GetAs(&s);
     CPPUNIT_ASSERT(res);
+#ifndef wxDONT_TEST
     double d2;
     res = s.ToDouble(&d2);
     CPPUNIT_ASSERT(res);