mirror of
https://github.com/aria2/aria2.git
synced 2025-04-03 12:37:38 +03:00
Fix a failed test
This commit is contained in:
parent
d8c5f74c1c
commit
c651d563d0
1 changed files with 1 additions and 0 deletions
|
@ -329,6 +329,7 @@ void BittorrentHelperTest::testGetPeerId()
|
|||
|
||||
void BittorrentHelperTest::testGetPeerAgent()
|
||||
{
|
||||
setStaticPeerAgent("");
|
||||
std::string peerAgent = generateStaticPeerAgent("aria2/-1.-1.-1");
|
||||
CPPUNIT_ASSERT_EQUAL(std::string("aria2/-1.-1.-1"), peerAgent);
|
||||
CPPUNIT_ASSERT_EQUAL(std::string("aria2/-1.-1.-1"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue