Fixed check style error

This commit is contained in:
Larry Luo 2022-04-18 12:03:14 -04:00
parent 393fd88d95
commit 3b605b3fd7

View File

@ -52,7 +52,7 @@ TEST_P(ParserTest, parseQuery)
ASTPtr ast;
ASSERT_NO_THROW(ast = parseQuery(*parser, input_text.begin(), input_text.end(), 0, 0));
if (std::string("CREATE USER or ALTER USER query").compare(parser->getName())
if (std::string("CREATE USER or ALTER USER query").compare(parser->getName())
&& std::string("ATTACH access entity query").compare(parser->getName()))
{
EXPECT_EQ(expected_ast, serializeAST(*ast->clone(), false));