mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8252458: Test tools/javac/parser/JavacParserTest.java fails on Windows after JDK-8237041
Reviewed-by: vromero
This commit is contained in:
parent
edf36d90c3
commit
235ef8e6df
1 changed files with 1 additions and 1 deletions
|
@ -1542,7 +1542,7 @@ public class JavacParserTest extends TestCase {
|
|||
""";
|
||||
JavacTaskImpl ct = (JavacTaskImpl) tool.getTask(null, fm, null, List.of("-XDdev"),
|
||||
null, Arrays.asList(new MyFileObject(code)));
|
||||
String ast = ct.parse().iterator().next().toString();
|
||||
String ast = ct.parse().iterator().next().toString().replaceAll("\\R", "\n");
|
||||
String expected = """
|
||||
package t;
|
||||
\n\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue