8262041: javax/xml/jaxp/unittest/common/prettyprint/PrettyPrintTest.java fails after JDK-8260858

Reviewed-by: lancea, naoto
This commit is contained in:
Joe Wang 2021-02-20 02:37:53 +00:00
parent b10376bac1
commit 475595847c
2 changed files with 2 additions and 3 deletions

View File

@ -23,4 +23,3 @@
# #
########################################################################### ###########################################################################
javax/xml/jaxp/unittest/common/prettyprint/PrettyPrintTest.java 8262041 windows-all

View File

@ -190,7 +190,7 @@ public class PrettyPrintTest {
boolean val, String expected) boolean val, String expected)
throws Exception { throws Exception {
String result = transform(null, expected, false, pretty, p, sp, val); String result = transform(null, expected, false, pretty, p, sp, val);
Assert.assertEquals(result, expected); Assert.assertEquals(result.replaceAll("\r\n", "\n"), expected);
} }
/* /*
@ -203,7 +203,7 @@ public class PrettyPrintTest {
boolean sp, boolean val, String expected) boolean sp, boolean val, String expected)
throws Exception { throws Exception {
String result = transform(xsl, expected, false, pretty, p, sp, val); String result = transform(xsl, expected, false, pretty, p, sp, val);
Assert.assertEquals(result, expected); Assert.assertEquals(result.replaceAll("\r\n", "\n"), expected);
} }
/* /*