mirror of
https://github.com/aria2/aria2.git
synced 2025-04-04 21:17:41 +03:00
2010-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use util::strip() instead of util::trim() * src/ExpatXmlRpcRequestProcessor.cc * src/FeatureConfig.cc * src/HttpHeader.cc * src/MetalinkParserStateV3Impl.cc * src/OptionHandlerImpl.h * src/ServerStatMan.cc * src/UriListParser.cc * src/Xml2XmlRpcRequestProcessor.cc * src/bittorrent_helper.cc * src/cookie_helper.cc * src/messageDigest.cc * src/util.cc * src/util.h * test/FeatureConfigTest.cc * test/HttpRequestTest.cc * test/UriListParserTest.cc * test/UtilTest.cc
This commit is contained in:
parent
dbea00fa9d
commit
1505671e7b
18 changed files with 79 additions and 104 deletions
|
@ -524,7 +524,7 @@ void HttpRequestTest::testCreateRequest_head()
|
|||
std::stringstream result(httpRequest.createRequest());
|
||||
std::string line;
|
||||
CPPUNIT_ASSERT(getline(result, line));
|
||||
util::trimSelf(line);
|
||||
line = util::strip(line);
|
||||
CPPUNIT_ASSERT_EQUAL(std::string("HEAD /aria2-1.0.0.tar.bz2 HTTP/1.1"), line);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue