Skip to content

Commit

Permalink
fix UT error
Browse files Browse the repository at this point in the history
  • Loading branch information
nevermore3 committed Sep 18, 2021
1 parent d3a01a1 commit 22046e3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/graph/validator/test/LookupValidatorTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@ TEST_F(LookupValidatorTest, InvalidYieldExpression) {
{
const std::string query =
"LOOKUP ON person where person.age == 35 YIELD person.age + 1 AS age;";
EXPECT_FALSE(checkResult(query,
{
PlanNode::Kind::kProject,
PlanNode::Kind::kFilter,
PlanNode::Kind::kTagIndexFullScan,
PlanNode::Kind::kStart,
}));
EXPECT_TRUE(checkResult(query,
{
PlanNode::Kind::kProject,
PlanNode::Kind::kFilter,
PlanNode::Kind::kTagIndexFullScan,
PlanNode::Kind::kStart,
}));
}
}

Expand Down

0 comments on commit 22046e3

Please sign in to comment.