From b5af788a004a2534d3c73319c4deee35ecebeda5 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 11 Feb 2009 07:41:15 +0000 Subject: 2009-02-11 Tatsuhiro Tsujikawa Fixed broken selected file BitTorrent download. * src/MultiDiskWriter.cc * test/MultiDiskWriterTest.cc * test/MultiFileAllocationIteratorTest.cc --- test/MultiFileAllocationIteratorTest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/MultiFileAllocationIteratorTest.cc') diff --git a/test/MultiFileAllocationIteratorTest.cc b/test/MultiFileAllocationIteratorTest.cc index 288df5e2..1ca3dfb0 100644 --- a/test/MultiFileAllocationIteratorTest.cc +++ b/test/MultiFileAllocationIteratorTest.cc @@ -120,7 +120,7 @@ void MultiFileAllocationIteratorTest::testMakeDiskWriterEntries() // file9 CPPUNIT_ASSERT_EQUAL(prefix+std::string("/file9"), entries[8]->getFilePath(prefix)); - CPPUNIT_ASSERT(entries[8]->needsFileAllocation()); + CPPUNIT_ASSERT(!entries[8]->needsFileAllocation()); CPPUNIT_ASSERT(!entries[8]->getDiskWriter().isNull()); // fileA CPPUNIT_ASSERT_EQUAL(prefix+std::string("/fileA"), -- cgit