diff --git a/test/test_connection.cpp b/test/test_connection.cpp
index 80675fc2102eb392009cad3023497af5febff316..ed1ca1faa5186105c87edb5068916f76ab850882 100644
--- a/test/test_connection.cpp
+++ b/test/test_connection.cpp
@@ -110,7 +110,9 @@ TEST(test_connection, connection_ssl_authentication_error_wrong_credentials) {
 
   EXPECT_THROW_MESSAGE(
     connection.RetrieveVersionInfo(), AuthenticationError,
-    "The attempt to execute this transaction has not been executed at all because the authentication did not succeed. Original error: Authentication failed. Username or password wrong.");
+    "The attempt to execute this transaction has not been executed at all "
+    "because the authentication did not succeed. Original error: "
+    "Authentication failed. Username or password wrong.");
 }
 
 TEST(test_connection, connection_ssl_authentication_success) {