Skip to content

Commit

Permalink
Change test for coverage.
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
  • Loading branch information
Yury-Fridlyand committed Feb 14, 2023
1 parent c872466 commit 7cda2e4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ class FilterOperatorTest extends PhysicalPlanTestBase {
@Test
public void filterTest() {
FilterOperator plan = new FilterOperator(new TestScan(),
DSL.equal(DSL.ref("response", INTEGER), DSL.literal(404)));
DSL.and(DSL.notequal(DSL.ref("response", INTEGER), DSL.literal(200)),
DSL.notequal(DSL.ref("response", INTEGER), DSL.literal(500))));
List<ExprValue> result = execute(plan);
assertEquals(1, result.size());
assertThat(result, containsInAnyOrder(ExprValueUtils
Expand Down

0 comments on commit 7cda2e4

Please sign in to comment.