fixed unchanged copy and paste

git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/branches/ErrorHandling@6086 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
Scott R Charlton 2012-01-20 04:21:23 +00:00
parent 4c6539bd08
commit 2b8adbe34c
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ PROGRAM example
STOP
END IF
IF (SetOutputStringOn(id, .TRUE.).NE.IPQ_OK) THEN
IF (SetLogStringOn(id, .TRUE.).NE.IPQ_OK) THEN
CALL OutputErrorString(id)
STOP
END IF

View File

@ -2902,11 +2902,11 @@ void TestIPhreeqc::TestGetErrorString(void)
obj.SetErrorFileName(ERR_FILENAME);
CPPUNIT_ASSERT_EQUAL( std::string(ERR_FILENAME), std::string(obj.GetErrorFileName()) );
CPPUNIT_ASSERT_EQUAL( 1, obj.RunAccumulated() );
CPPUNIT_ASSERT_EQUAL( 1, obj.RunAccumulated() );
CPPUNIT_ASSERT_EQUAL( std::string(ERR_FILENAME), std::string(obj.GetErrorFileName()) );
CPPUNIT_ASSERT_EQUAL( true, ::FileExists(ERR_FILENAME) );
CPPUNIT_ASSERT_EQUAL( true, ::FileExists(ERR_FILENAME) );
{
std::string fline("ERROR: Numerical method failed on all combinations of convergence parameters\n");