diff --git a/src/Parsers/tests/gtest_Parser.cpp b/src/Parsers/tests/gtest_Parser.cpp index d085ac23c67..cf88f1a846e 100644 --- a/src/Parsers/tests/gtest_Parser.cpp +++ b/src/Parsers/tests/gtest_Parser.cpp @@ -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));