Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Dec 31, 2024
1 parent 9341362 commit e80708b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/solver/modeler/loadFiles/readLibraries.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static Study::SystemModel::Library loadSingleLibrary(const fs::path& filePath)
}
catch (const std::runtime_error& e)
{
logs.error() << "Error while converting this library yaml: "<< filePath;
logs.error() << "Error while converting this library yaml: " << filePath;
throw ErrorLoadingYaml(e.what());
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ BOOST_AUTO_TEST_CASE(files_not_existing)
std::vector<Antares::Study::SystemModel::Library> libraries;

BOOST_CHECK_THROW(Antares::Solver::LoadFiles::loadLibraries(studyPath), std::runtime_error);
BOOST_CHECK_THROW(Antares::Solver::LoadFiles::loadSystem(studyPath, libraries), std::runtime_error);
BOOST_CHECK_THROW(Antares::Solver::LoadFiles::loadSystem(studyPath, libraries),
std::runtime_error);
}

BOOST_FIXTURE_TEST_CASE(read_one_lib_treile, FixtureLoadFile)
Expand Down

0 comments on commit e80708b

Please sign in to comment.