Skip to content

Commit

Permalink
add assertion that inner query builder was visited
Browse files Browse the repository at this point in the history
Signed-off-by: Konrad Gołuchowski <[email protected]>
  • Loading branch information
jdnvn authored and Konrad Gołuchowski committed Dec 6, 2024
1 parent 4dfb814 commit 48eae48
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -948,5 +948,6 @@ public void testVisit() {
builder.visit(createTestVisitor(visitedQueries));

assertEquals(2, visitedQueries.size());
assertTrue(visitedQueries.contains(termQueryBuilder));
}
}

0 comments on commit 48eae48

Please sign in to comment.