On Fri, 16 Jul 2021 13:17:43 GMT, Pavel Rappo <pra...@openjdk.org> wrote:
> When searching output for multiple strings it is easy to misexpress your > intent, which could make a failing test pass. Such cases can be caught and > reported to the programmer. > > For example, for this search to succeed it is sufficient for the output to > consist only of the `"error: bad"` string: > > > checkOutput(..., "error:", "error: bad", ...) This pull request has been closed without being integrated. ------------- PR: https://git.openjdk.java.net/jdk/pull/4811