Skip to content

Commit

Permalink
Fixing test case
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Jain <varunudr@amazon.com>
  • Loading branch information
vibrantvarun committed Sep 20, 2023
1 parent b610835 commit 3b6d79a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ public void testVisit() {
boolQueryBuilder.filter(new TermQueryBuilder(TEXT_FIELD_NAME, "filter"));
List<QueryBuilder> visitedQueries = new ArrayList<>();
boolQueryBuilder.visit(createTestVisitor(visitedQueries));
assertEquals(5, visitedQueries.size());
assertEquals(6, visitedQueries.size());
Set<Object> set = new HashSet<>(Arrays.asList("should", "must1", "must2", "mustNot", "filter"));

for (QueryBuilder qb : visitedQueries) {
Expand Down

0 comments on commit 3b6d79a

Please sign in to comment.