[Aptitude-svn-commit] r3973 - in branches/aptitude-0.3/aptitude: . tests

Daniel Burrows dburrows at costa.debian.org
Mon Aug 29 03:27:03 UTC 2005


Author: dburrows
Date: Mon Aug 29 03:27:00 2005
New Revision: 3973

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/tests/test_wtree.cc
Log:
Fix an incorrect test assertion.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Mon Aug 29 03:27:00 2005
@@ -1,5 +1,9 @@
 2005-08-28  Daniel Burrows  <dburrows at debian.org>
 
+	* tests/test_wtree.cc:
+
+	  Correct a wrong test assertion.
+
 	* src/generic/immset.h:
 
 	  Correct a rather dumb thinko in the double right rotation that

Modified: branches/aptitude-0.3/aptitude/tests/test_wtree.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/tests/test_wtree.cc	(original)
+++ branches/aptitude-0.3/aptitude/tests/test_wtree.cc	Mon Aug 29 03:27:00 2005
@@ -343,7 +343,7 @@
 
     m.put(1, 0);
     CPPUNIT_ASSERT(!m.empty());
-    CPPUNIT_ASSERT_EQUAL(m.size(), 7U);
+    CPPUNIT_ASSERT_EQUAL(m.size(), 6U);
 
 
     CPPUNIT_ASSERT_EQUAL(m.get(0, -1), -1);



More information about the Aptitude-svn-commit mailing list