Made ExtensionMessage's NAME const char[]

This commit is contained in:
Tatsuhiro Tsujikawa 2012-09-26 00:01:41 +09:00
parent c522d79d89
commit f0000a8754
11 changed files with 22 additions and 20 deletions

View file

@ -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()