changeset 35424 | 96661d1df628 |
parent 30846 | 2b3f379840f0 |
child 36526 | 3b41f1c69604 |
--- a/langtools/test/tools/javap/T6868539.java Thu Jan 28 14:06:27 2016 +0000 +++ b/langtools/test/tools/javap/T6868539.java Thu Jan 28 19:42:46 2016 +0300 @@ -58,10 +58,12 @@ throw new Error(errors + " found."); } + String notFound = " not found"; + void verify(String output, String... expects) { for (String expect: expects) { if (!output.matches("(?s).*" + expect + ".*")) - error(expect + " not found"); + error(expect + notFound); } }