fix testcase
authorMichael Andres <ma@suse.de>
Thu, 29 Mar 2012 09:50:08 +0000 (11:50 +0200)
committerMichael Andres <ma@suse.de>
Thu, 29 Mar 2012 09:50:08 +0000 (11:50 +0200)
tests/sat/SolvParsing_test.cc

index 76da497..721de6f 100644 (file)
@@ -107,9 +107,9 @@ BOOST_AUTO_TEST_CASE(attributes)
             //solvable:url: http://www.openssl.org/
             //solvable:buildtime: 1165493634
             //solvable:installsize: 3845
-            BOOST_CHECK_EQUAL(p->installSize(), ByteCount(3845, ByteCount::K));
+            BOOST_CHECK_EQUAL(p->installSize(), ByteCount(3937193));
             //solvable:downloadsize: 909
-            BOOST_CHECK_EQUAL(p->downloadSize(), ByteCount(909, ByteCount::K));
+            BOOST_CHECK_EQUAL(p->downloadSize(), ByteCount(930588));
             //solvable:mediadir: rpm/i586
             //solvable:mediafile: openssl-devel-0.9.8d-17.2.i586.rpm
             //solvable:license: BSD License and BSD-like, Other License(s), see package