mirror of
https://github.com/aria2/aria2.git
synced 2025-04-04 21:17:41 +03:00
Made ExtensionMessage's NAME const char[]
This commit is contained in:
parent
c522d79d89
commit
f0000a8754
11 changed files with 22 additions and 20 deletions
|
@ -51,7 +51,8 @@ void HandshakeExtensionMessageTest::testGetExtensionMessageID()
|
|||
void HandshakeExtensionMessageTest::testGetExtensionName()
|
||||
{
|
||||
HandshakeExtensionMessage msg;
|
||||
CPPUNIT_ASSERT_EQUAL(std::string("handshake"), msg.getExtensionName());
|
||||
CPPUNIT_ASSERT_EQUAL(std::string("handshake"),
|
||||
std::string(msg.getExtensionName()));
|
||||
}
|
||||
|
||||
void HandshakeExtensionMessageTest::testGetBencodedData()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue