mirror of https://github.com/aria2/aria2
Fixed compile error with g++-4.6.1
parent
36c125c7a2
commit
0f9b59cdce
|
@ -191,7 +191,7 @@ void OptionParserTest::testParse()
|
||||||
"bravo=World");
|
"bravo=World");
|
||||||
oparser_->parse(option, in);
|
oparser_->parse(option, in);
|
||||||
CPPUNIT_ASSERT_EQUAL
|
CPPUNIT_ASSERT_EQUAL
|
||||||
((ptrdiff_t)2, std::distance(option.begin(), option.end()));
|
((std::ptrdiff_t)2, std::distance(option.begin(), option.end()));
|
||||||
CPPUNIT_ASSERT_EQUAL(std::string("Hello"), option.get("alpha"));
|
CPPUNIT_ASSERT_EQUAL(std::string("Hello"), option.get("alpha"));
|
||||||
CPPUNIT_ASSERT_EQUAL(std::string("World"), option.get("bravo"));
|
CPPUNIT_ASSERT_EQUAL(std::string("World"), option.get("bravo"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue