]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed test to actually work
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 28 Feb 2005 00:20:31 +0000 (00:20 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 28 Feb 2005 00:20:31 +0000 (00:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/longlong/longlongtest.cpp

index 043a259cefdbe5094a38ee0266618d7cfbd93bf5..3d4815db0958732bcea2874aeb852b344fce76d6 100644 (file)
@@ -304,7 +304,7 @@ void LongLongTestCase::ToString()
     CPPUNIT_ASSERT( a.ToString() == _T("-1311768467139281697") );
 
     wxLongLong llMin(LONG_MIN, 0);
     CPPUNIT_ASSERT( a.ToString() == _T("-1311768467139281697") );
 
     wxLongLong llMin(LONG_MIN, 0);
-    CPPUNIT_ASSERT( a.ToString() == _T("-9223372036854775808") );
+    CPPUNIT_ASSERT( llMin.ToString() == _T("-9223372036854775808") );
 
 #if wxUSE_LONGLONG_WX
     wxLongLongWx a1(a.GetHi(), a.GetLo());
 
 #if wxUSE_LONGLONG_WX
     wxLongLongWx a1(a.GetHi(), a.GetLo());