slow-J commented on code in PR #16229:
URL: https://github.com/apache/lucene/pull/16229#discussion_r3387979115
##########
lucene/core/src/test/org/apache/lucene/search/TestBooleanQuery.java:
##########
@@ -1411,4 +1411,49 @@ public void testClauseSetsImmutability() throws
Exception {
UnsupportedOperationException.class,
() -> bq.clauses().add(new BooleanClause(MatchNoDocsQuery.INSTANCE,
Occur.SHOULD)));
}
+
+ public void testExplainFailingOptionalClauses() throws Exception {
Review Comment:
Thanks for the feedback @epotyom, I'll move the test there.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]