"...include/git@developer.sourcefind.cn:yangql/googletest.git" did not exist on "22397f28ef576daf9f3dbfac381bdfdf3be58a86"
Commit 23dadb84 authored by Mario Voorsluys's avatar Mario Voorsluys
Browse files

Fix multiple \n characters in xml file when using GTEST_SKIP.

parent d28d05cc
......@@ -2191,7 +2191,9 @@ std::string AppendUserMessage(const std::string& gtest_msg,
if (user_msg_string.empty()) {
return gtest_msg;
}
if (gtest_msg.empty()) {
return user_msg_string;
}
return gtest_msg + "\n" + user_msg_string;
}
......@@ -3113,7 +3115,7 @@ static std::string FormatTestSuiteCount(int test_suite_count) {
static const char * TestPartResultTypeToString(TestPartResult::Type type) {
switch (type) {
case TestPartResult::kSkip:
return "Skipped";
return "Skipped\n";
case TestPartResult::kSuccess:
return "Success";
......
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