Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Heinrich <[email protected]>
  • Loading branch information
andistorm committed Dec 5, 2023
1 parent 97a6aeb commit c362e1c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions modules/ErrorHistory/ErrorDatabaseSqlite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,10 @@ std::list<Everest::error::ErrorPtr> ErrorDatabaseSqlite::get_errors(const std::o
const std::string err_from_module_id = stmt.getColumn("from_module").getText();
const std::string err_from_impl_id = stmt.getColumn("from_implementation").getText();
const ImplementationIdentifier err_from(err_from_module_id, err_from_impl_id);
const Everest::error::Error::time_point err_timestamp = Everest::Date::from_rfc3339(stmt.getColumn("timestamp").getText());
const Everest::error::Severity err_severity = Everest::error::string_to_severity(stmt.getColumn("severity").getText());
const Everest::error::Error::time_point err_timestamp =
Everest::Date::from_rfc3339(stmt.getColumn("timestamp").getText());
const Everest::error::Severity err_severity =
Everest::error::string_to_severity(stmt.getColumn("severity").getText());
const Everest::error::State err_state = Everest::error::string_to_state(stmt.getColumn("state").getText());
const Everest::error::ErrorHandle err_handle(Everest::error::ErrorHandle(stmt.getColumn("uuid").getText()));
Everest::error::ErrorPtr error = std::make_shared<Everest::error::Error>(
Expand Down
2 changes: 1 addition & 1 deletion tests/core_tests/error_history_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def assert_errors(expected_errors, errors):
if index is not None:
assert False, f'Found multiple errors with uuid {exp_err["uuid"]}'
index = i

assert index is not None
assert_error(exp_err, err)

Expand Down

0 comments on commit c362e1c

Please sign in to comment.