Verified Commit c25985bf authored by Andrei Pavel's avatar Andrei Pavel 🐧

[#1298] missing spaces in error messages in tests

parent 9abbf8e9
......@@ -101,7 +101,7 @@ public:
if (rcode) {
return (::testing::AssertionFailure(::testing::Message() <<
"configure() failed:"
"configure() failed: "
<< comment));
}
......
......@@ -68,8 +68,8 @@ runCqlScript(const std::string& path,
int32_t retval = ::system(cmd.str().c_str());
if (retval) {
std::cerr << "runCqlSchema failed:" << cmd.str() << std::endl;
isc_throw(Unexpected, "runCqlSchema failed:" << cmd.str());
std::cerr << "runCqlSchema failed: " << cmd.str() << std::endl;
isc_throw(Unexpected, "runCqlSchema failed: " << cmd.str());
}
}
......
......@@ -128,7 +128,7 @@ public:
PgSqlResult r(PQexec(conn, query.c_str()));
if (PQresultStatus(r) != PGRES_TUPLES_OK) {
isc_throw(DbOperationError, "Query failed:" << PQerrorMessage(conn));
isc_throw(DbOperationError, "Query failed: " << PQerrorMessage(conn));
}
int numrows = PQntuples(r);
......
......@@ -82,8 +82,8 @@ void runMySQLScript(const std::string& path, const std::string& script_name,
int retval = ::system(cmd.str().c_str());
if (retval) {
std::cerr << "runMySQLSchema failed:" << cmd.str() << std::endl;
isc_throw(Unexpected, "runMySQLSchema failed:" << cmd.str());
std::cerr << "runMySQLSchema failed: " << cmd.str() << std::endl;
isc_throw(Unexpected, "runMySQLSchema failed: " << cmd.str());
}
}
......
......@@ -93,8 +93,8 @@ void runPgSQLScript(const std::string& path, const std::string& script_name,
int retval = ::system(cmd.str().c_str());
if (retval) {
std::cerr << "runPgSQLSchema failed:" << cmd.str() << std::endl;
isc_throw(Unexpected, "runPgSQLSchema failed:" << cmd.str());
std::cerr << "runPgSQLSchema failed: " << cmd.str() << std::endl;
isc_throw(Unexpected, "runPgSQLSchema failed: " << cmd.str());
}
}
......
......@@ -47,7 +47,7 @@ DStubProcess::run() {
io_service->run_one();
} catch (const std::exception& ex) {
isc_throw (DProcessBaseError,
std::string("Process run method failed:") + ex.what());
std::string("Process run method failed: ") + ex.what());
}
}
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment