> 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", ...)
Pavel Rappo has updated the pull request incrementally with one additional commit since the last revision: Address feedback ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/4811/files - new: https://git.openjdk.java.net/jdk/pull/4811/files/4a3e4cce..cf1e6a1e Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4811&range=02 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4811&range=01-02 Stats: 11 lines in 1 file changed: 0 ins; 10 del; 1 mod Patch: https://git.openjdk.java.net/jdk/pull/4811.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/4811/head:pull/4811 PR: https://git.openjdk.java.net/jdk/pull/4811