Skip to content

Commit 4755958

Browse files
committedFeb 20, 2021
8262041: javax/xml/jaxp/unittest/common/prettyprint/PrettyPrintTest.java fails after JDK-8260858
Reviewed-by: lancea, naoto
1 parent b10376b commit 4755958

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed
 

‎test/jaxp/ProblemList.txt

-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,3 @@
2323
#
2424
###########################################################################
2525

26-
javax/xml/jaxp/unittest/common/prettyprint/PrettyPrintTest.java 8262041 windows-all

‎test/jaxp/javax/xml/jaxp/unittest/common/prettyprint/PrettyPrintTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public void testIsStandalone_XSLTC(boolean pretty, boolean p, boolean sp,
190190
boolean val, String expected)
191191
throws Exception {
192192
String result = transform(null, expected, false, pretty, p, sp, val);
193-
Assert.assertEquals(result, expected);
193+
Assert.assertEquals(result.replaceAll("\r\n", "\n"), expected);
194194
}
195195

196196
/*
@@ -203,7 +203,7 @@ public void testIsStandalone_Template(String xsl, boolean pretty, boolean p,
203203
boolean sp, boolean val, String expected)
204204
throws Exception {
205205
String result = transform(xsl, expected, false, pretty, p, sp, val);
206-
Assert.assertEquals(result, expected);
206+
Assert.assertEquals(result.replaceAll("\r\n", "\n"), expected);
207207
}
208208

209209
/*

1 commit comments

Comments
 (1)

openjdk-notifier[bot] commented on Feb 20, 2021

@openjdk-notifier[bot]
Please sign in to comment.