mirror of https://github.com/aria2/aria2
Corrected comment
parent
5941a00f65
commit
7bf2c7751f
|
@ -117,7 +117,7 @@ void AuthConfigFactoryTest::testCreateAuthConfig_ftp()
|
||||||
CPPUNIT_ASSERT_EQUAL(string("userDefinedUser:userDefinedPassword"),
|
CPPUNIT_ASSERT_EQUAL(string("userDefinedUser:userDefinedPassword"),
|
||||||
factory.createAuthConfig(req)->getAuthText());
|
factory.createAuthConfig(req)->getAuthText());
|
||||||
|
|
||||||
// username and password in URI: disabled by default.
|
// username and password in URI
|
||||||
req->setUrl("ftp://aria2user:aria2password@localhost/download/aria2-1.0.0.tar.bz2");
|
req->setUrl("ftp://aria2user:aria2password@localhost/download/aria2-1.0.0.tar.bz2");
|
||||||
CPPUNIT_ASSERT_EQUAL(string("aria2user:aria2password"),
|
CPPUNIT_ASSERT_EQUAL(string("aria2user:aria2password"),
|
||||||
factory.createAuthConfig(req)->getAuthText());
|
factory.createAuthConfig(req)->getAuthText());
|
||||||
|
|
Loading…
Reference in New Issue