From 816c6eec47ebb313e42c0b76fe17dfd816cbb5a8 Mon Sep 17 00:00:00 2001 From: florian <f.spreckelsen@inidscale.com> Date: Wed, 6 Oct 2021 11:59:53 +0200 Subject: [PATCH] STY: autoformatted --- include/caosdb/utility.h | 2 +- test/test_connection.cpp | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/caosdb/utility.h b/include/caosdb/utility.h index 25ecf6f..68e34ea 100644 --- a/include/caosdb/utility.h +++ b/include/caosdb/utility.h @@ -90,7 +90,7 @@ inline auto load_string_file(const path &path) -> std::string { std::string result; // TODO(htw) // try { - boost::filesystem::load_string_file(path, result); + boost::filesystem::load_string_file(path, result); // } catch (const std::exception &exc) { // throw caosdb::exceptions::Exception(StatusCode::FILE_CANNOT_BE_READ , // "Cannot read the following file: "+ path.string()); diff --git a/test/test_connection.cpp b/test/test_connection.cpp index 86eae20..3b81ab9 100644 --- a/test/test_connection.cpp +++ b/test/test_connection.cpp @@ -66,15 +66,15 @@ TEST_F(test_connection, configure_ssl_localhost_8080) { TEST_F(test_connection, connection_manager_unknown_connection) { EXPECT_THROW_MESSAGE( - ConnectionManager::GetConnection("test"), caosdb::exceptions::UnknownConnectionError, - "Error with the connection named 'test': The connection 'test' has not been defined."); + ConnectionManager::GetConnection("test"), caosdb::exceptions::UnknownConnectionError, + "Error with the connection named 'test': The connection 'test' has not been defined."); } TEST_F(test_connection, connection_missing_certificate) { - EXPECT_THROW_MESSAGE( - ConnectionManager::GetConnection("missing"), caosdb::exceptions::UnknownConnectionError, - std::string("Error with the connection named 'missing': ") - + "File does not exist (server_certificate_path): /missing"); + EXPECT_THROW_MESSAGE(ConnectionManager::GetConnection("missing"), + caosdb::exceptions::UnknownConnectionError, + std::string("Error with the connection named 'missing': ") + + "File does not exist (server_certificate_path): /missing"); } TEST_F(test_connection, connection_manager_get_default_connection) { -- GitLab