diff --git a/include/caosdb/utility.h b/include/caosdb/utility.h index 25ecf6ff12935c2e80391fb9c870769de13e2d3b..68e34eaceb2fa25c5fe07c8db822a8639382bbc5 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 86eae20e971819a8911182ec4887299b1a85764c..3b81ab9f3e307c2aaaa248a5d5ae4350537448b9 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) {