8042886: Test langtools/test/com/sun/javadoc/testHtmlDocument/TestHtmlDocument.java fails on Windows
Reviewed-by: darcy
--- a/langtools/test/com/sun/javadoc/testHtmlDocument/TestHtmlDocument.java Sat May 10 01:24:35 2014 +0100
+++ b/langtools/test/com/sun/javadoc/testHtmlDocument/TestHtmlDocument.java Fri May 09 18:50:12 2014 -0700
@@ -51,7 +51,7 @@
void test() {
checking("markup");
// Check whether the generated markup is same as the existing markup.
- String expected = readFile(testSrc, "testMarkup.html");
+ String expected = readFile(testSrc, "testMarkup.html").replace("\n", NL);
String actual = generateHtmlTree();
if (actual.equals(expected)) {
passed("");