mirror of
https://github.com/aria2/aria2.git
synced 2025-04-06 05:57:36 +03:00
This commit is contained in:
parent
708b9f4a3d
commit
a413cb50f7
84 changed files with 527 additions and 528 deletions
|
@ -31,7 +31,7 @@ void BtHaveNoneMessageTest::testCreate() {
|
|||
unsigned char msg[5];
|
||||
PeerMessageUtil::createPeerMessageString(msg, sizeof(msg), 1, 15);
|
||||
BtHaveNoneMessageHandle pm = BtHaveNoneMessage::create(&msg[4], 1);
|
||||
CPPUNIT_ASSERT_EQUAL(15, pm->getId());
|
||||
CPPUNIT_ASSERT_EQUAL((uint8_t)15, pm->getId());
|
||||
|
||||
// case: payload size is wrong
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue