epotyom commented on code in PR #16229:
URL: https://github.com/apache/lucene/pull/16229#discussion_r3387700826


##########
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:
   I think explanation tests usually live under BaseExplanationTestCase 
subclasses - do you think we can add tests to one of them?



-- 
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]

Reply via email to