mirror of
https://github.com/aria2/aria2.git
synced 2025-04-06 22:17:38 +03:00
clang-format-5.0
This commit is contained in:
parent
20a7c43f2d
commit
795a0474df
48 changed files with 595 additions and 284 deletions
|
@ -140,9 +140,8 @@ void PeerSessionResourceTest::testGetExtensionMessageID()
|
|||
res.addExtension(ExtensionMessageRegistry::UT_PEX, 9);
|
||||
CPPUNIT_ASSERT_EQUAL(
|
||||
(uint8_t)9, res.getExtensionMessageID(ExtensionMessageRegistry::UT_PEX));
|
||||
CPPUNIT_ASSERT_EQUAL(
|
||||
(uint8_t)0,
|
||||
res.getExtensionMessageID(ExtensionMessageRegistry::UT_METADATA));
|
||||
CPPUNIT_ASSERT_EQUAL((uint8_t)0, res.getExtensionMessageID(
|
||||
ExtensionMessageRegistry::UT_METADATA));
|
||||
|
||||
CPPUNIT_ASSERT_EQUAL(std::string("ut_pex"),
|
||||
std::string(res.getExtensionName(9)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue