Browse Source

Fix failed test

Tatsuhiro Tsujikawa 9 years ago
parent
commit
ae6067d2a9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/BtInterestedMessageTest.cc

+ 1 - 1
test/BtInterestedMessageTest.cc

@@ -83,7 +83,7 @@ void BtInterestedMessageTest::testDoReceivedAction()
   CPPUNIT_ASSERT(!peer->peerInterested());
   msg.doReceivedAction();
   CPPUNIT_ASSERT(peer->peerInterested());
-  CPPUNIT_ASSERT_EQUAL(0, peerStorage->getNumChokeExecuted());
+  CPPUNIT_ASSERT_EQUAL(1, peerStorage->getNumChokeExecuted());
 
   peer->amChoking(false);
   msg.doReceivedAction();