mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8003650: java.lang.Exception: expected string not found: pkg/package-frame.html
Reviewed-by: ksrini
This commit is contained in:
parent
f0fe027b50
commit
f2fa2a199c
2 changed files with 6 additions and 4 deletions
|
@ -67,8 +67,9 @@ public class GetTask_WriterTest extends APITest {
|
|||
String out = sw.toString();
|
||||
System.err.println(">>" + out + "<<");
|
||||
for (String f: standardExpectFiles) {
|
||||
if (f.endsWith(".html") && !out.contains(f))
|
||||
throw new Exception("expected string not found: " + f);
|
||||
String f1 = f.replace('/', File.separatorChar);
|
||||
if (f1.endsWith(".html") && !out.contains(f1))
|
||||
throw new Exception("expected string not found: " + f1);
|
||||
}
|
||||
} else {
|
||||
throw new Exception("task failed");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue