Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
nevermore3 committed May 11, 2022
1 parent 59d35c1 commit afe2c0b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/common/expression/test/RelationalExpressionTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,6 @@ TEST_F(RelationalExpressionTest, RelationStartsWith) {
&pool, ConstantExpression::make(&pool, 1234), ConstantExpression::make(&pool, "1234"));
auto eval = Expression::eval(expr, gExpCtxt);
EXPECT_EQ(eval.type(), Value::Type::NULLVALUE);
EXPECT_EQ(eval.isBadNull(), true);
}
{
auto expr =
Expand Down Expand Up @@ -1054,7 +1053,6 @@ TEST_F(RelationalExpressionTest, RelationNotStartsWith) {
&pool, ConstantExpression::make(&pool, 1234), ConstantExpression::make(&pool, "1234"));
auto eval = Expression::eval(expr, gExpCtxt);
EXPECT_EQ(eval.type(), Value::Type::NULLVALUE);
EXPECT_EQ(eval.isBadNull(), true);
}
{
auto expr =
Expand Down Expand Up @@ -1180,7 +1178,6 @@ TEST_F(RelationalExpressionTest, RelationEndsWith) {
&pool, ConstantExpression::make(&pool, 1234), ConstantExpression::make(&pool, "1234"));
auto eval = Expression::eval(expr, gExpCtxt);
EXPECT_EQ(eval.type(), Value::Type::NULLVALUE);
EXPECT_EQ(eval.isBadNull(), true);
}
{
auto expr =
Expand Down Expand Up @@ -1297,7 +1294,6 @@ TEST_F(RelationalExpressionTest, RelationNotEndsWith) {
&pool, ConstantExpression::make(&pool, 1234), ConstantExpression::make(&pool, "1234"));
auto eval = Expression::eval(expr, gExpCtxt);
EXPECT_EQ(eval.type(), Value::Type::NULLVALUE);
EXPECT_EQ(eval.isBadNull(), true);
}
{
auto expr =
Expand Down Expand Up @@ -1340,7 +1336,6 @@ TEST_F(RelationalExpressionTest, ContainsToString) {
&pool, ConstantExpression::make(&pool, 1234), ConstantExpression::make(&pool, "1234"));
auto eval = Expression::eval(expr, gExpCtxt);
EXPECT_EQ(eval.type(), Value::Type::NULLVALUE);
EXPECT_EQ(eval.isBadNull(), true);
}
{
auto expr =
Expand Down Expand Up @@ -1383,7 +1378,6 @@ TEST_F(RelationalExpressionTest, NotContainsToString) {
&pool, ConstantExpression::make(&pool, 1234), ConstantExpression::make(&pool, "1234"));
auto eval = Expression::eval(expr, gExpCtxt);
EXPECT_EQ(eval.type(), Value::Type::NULLVALUE);
EXPECT_EQ(eval.isBadNull(), true);
}
{
auto expr =
Expand Down

0 comments on commit afe2c0b

Please sign in to comment.