diff --git a/ChangeLog b/ChangeLog index b048c815..7e10c8c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-11-25 Tatsuhiro Tsujikawa + + Fixed unittest error + * test/OptionHandlerTest.cc + 2010-11-25 Tatsuhiro Tsujikawa Made strings which are only used in comparison plain C strings. diff --git a/test/OptionHandlerTest.cc b/test/OptionHandlerTest.cc index a2430724..3c4996ca 100644 --- a/test/OptionHandlerTest.cc +++ b/test/OptionHandlerTest.cc @@ -197,7 +197,7 @@ void OptionHandlerTest::testParameterOptionHandler_2argsInit() handler.parse(option, "value3"); CPPUNIT_FAIL("exception must be thrown."); } catch(Exception& e) {} - CPPUNIT_ASSERT_EQUAL(std::string("value1,value2"), + CPPUNIT_ASSERT_EQUAL(std::string("value1, value2"), handler.createPossibleValuesString()); } @@ -219,7 +219,7 @@ void OptionHandlerTest::testParameterOptionHandler_listInit() handler.parse(option, "value3"); CPPUNIT_FAIL("exception must be thrown."); } catch(Exception& e) {} - CPPUNIT_ASSERT_EQUAL(std::string("value1,value2"), + CPPUNIT_ASSERT_EQUAL(std::string("value1, value2"), handler.createPossibleValuesString()); }