mirror of
https://github.com/aria2/aria2.git
synced 2025-04-06 22:17:38 +03:00
2010-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Cleaned up Possible Values in usage help. More than 2 values are delimited by ", ". * src/NameMatchOptionHandler.h * src/OptionHandler.cc * src/OptionHandler.h * src/OptionHandlerFactory.cc * src/OptionHandlerImpl.cc * test/OptionHandlerTest.cc
This commit is contained in:
parent
b8055f259b
commit
06cd151c4b
7 changed files with 65 additions and 29 deletions
|
@ -78,7 +78,7 @@ void OptionHandlerTest::testBooleanOptionHandler()
|
|||
handler.parse(option, "hello");
|
||||
CPPUNIT_FAIL("exception must be thrown.");
|
||||
} catch(Exception& e) {}
|
||||
CPPUNIT_ASSERT_EQUAL(std::string("true,false"),
|
||||
CPPUNIT_ASSERT_EQUAL(std::string("true, false"),
|
||||
handler.createPossibleValuesString());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue