mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Make the failed message single line to fix result parsing
This commit is contained in:
parent
8d01137d73
commit
68c6bd8826
@ -39,7 +39,9 @@ std::ostream & operator<<(std::ostream & ostr, const std::shared_ptr<IParser> pa
|
||||
|
||||
std::ostream & operator<<(std::ostream & ostr, const ParserTestCase & test_case)
|
||||
{
|
||||
return ostr << "ParserTestCase input: " << test_case.input_text;
|
||||
std::string input_text{test_case.input_text};
|
||||
std::replace(input_text.begin(), input_text.end(),'\n', ' ');
|
||||
return ostr << "ParserTestCase input: " << input_text;
|
||||
}
|
||||
|
||||
class ParserTest : public ::testing::TestWithParam<std::tuple<std::shared_ptr<IParser>, ParserTestCase>>
|
||||
|
Loading…
Reference in New Issue
Block a user