mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
8039466: Tests failing in langtools repository
Fixing tests broken by JDK-8038455. Reviewed-by: jjg
This commit is contained in:
parent
e5c8101894
commit
5905e8f494
2 changed files with 5 additions and 4 deletions
|
@ -75,7 +75,8 @@ public class TestBadProcessor {
|
|||
"javax.annotation.processing.Processor: " +
|
||||
"Provider AnnoProc could not be instantiated: java.lang.Error\n" +
|
||||
"1 error";
|
||||
if (!out.trim().equals(expect)) {
|
||||
String lineSeparator = System.getProperty("line.separator");
|
||||
if (!out.trim().replace(lineSeparator, "\n").equals(expect)) {
|
||||
System.err.println("expected: " + expect);
|
||||
error("output not as expected");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue