diff --git a/doc/examples/F90GetLogStringLine.f90 b/doc/examples/F90GetLogStringLine.f90 index 2ce8926b..2a74e3da 100644 --- a/doc/examples/F90GetLogStringLine.f90 +++ b/doc/examples/F90GetLogStringLine.f90 @@ -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 diff --git a/unit/TestIPhreeqc.cpp b/unit/TestIPhreeqc.cpp index 24733d00..208172c1 100644 --- a/unit/TestIPhreeqc.cpp +++ b/unit/TestIPhreeqc.cpp @@ -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");