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 10, 2024
1 parent 2c3cef4 commit 19c5597
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 19c5597

Please sign in to comment.