mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
change compare argument order to be expected, query (=actual)
This commit is contained in:
parent
ebb8899a3d
commit
2ff5d60509
@ -44,7 +44,7 @@ String substitution(const String & s)
|
||||
}
|
||||
|
||||
|
||||
void compare(const String & query, const String & expected)
|
||||
void compare(const String & expected, const String & query)
|
||||
{
|
||||
using namespace DB;
|
||||
ParserQuery parser(query.data() + query.size());
|
||||
@ -130,6 +130,6 @@ TEST(FormatHiliting, Queries)
|
||||
{
|
||||
for (const auto & [expected, query] : expected_and_query_pairs)
|
||||
{
|
||||
compare(query, expected);
|
||||
compare(expected, query);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user