diff --git a/test/kinn.f b/test/kinn.f index 83c60a5a..0c09081d 100644 --- a/test/kinn.f +++ b/test/kinn.f @@ -15,14 +15,14 @@ id = CreateIPhreeqc() IF (id.LT.0) THEN - CALL OutputLastError(id) + CALL OutputError(id) STOP ENDIF iresult = LoadDatabase(id, 'llnl.dat') IF (iresult.NE.0) THEN - CALL OutputLastError(id) + CALL OutputError(id) STOP ENDIF @@ -41,7 +41,7 @@ iresult = SetDumpOn(id, .FALSE.) iresult = RunAccumulated(id) IF (iresult.NE.0) THEN - CALL OutputLastError(id) + CALL OutputError(id) STOP ENDIF diff --git a/test2/test2.for b/test2/test2.for index 9ccdb8c1..4f250fcc 100644 --- a/test2/test2.for +++ b/test2/test2.for @@ -11,14 +11,14 @@ id = CreateIPhreeqc() IF (id.LT.0) THEN - CALL OutputLastError(id) + CALL OutputError(id) STOP ENDIF iresult = LoadDatabase &(id, 'wateq4f.dat') IF (iresult.NE.0) THEN - CALL OutputLastError(id) + CALL OutputError(id) STOP 'Failed to load database' ENDIF @@ -31,7 +31,7 @@ iresult= Runfile(id, 'tester') IF (iresult.NE.0) THEN - CALL OutputLastError(id) + CALL OutputError(id) STOP 'Failed to run' ENDIF diff --git a/testcpp/testcpp.cpp b/testcpp/testcpp.cpp index 46ab08e4..6d0b9994 100644 --- a/testcpp/testcpp.cpp +++ b/testcpp/testcpp.cpp @@ -43,7 +43,7 @@ int main(int argc, char* argv[]) std::cout << "Ok\n"; return 0; error: - std::cout << obj.GetLastErrorString(); + std::cout << obj.GetErrorString(); return 1; }