8042886: Test langtools/test/com/sun/javadoc/testHtmlDocument/TestHtmlDocument.java fails on Windows
authorjjg
Fri, 09 May 2014 18:50:12 -0700
changeset 24402 96a0a92dc38d
parent 24401 0d793293862a
child 24403 f2ce14657001
8042886: Test langtools/test/com/sun/javadoc/testHtmlDocument/TestHtmlDocument.java fails on Windows Reviewed-by: darcy
langtools/test/com/sun/javadoc/testHtmlDocument/TestHtmlDocument.java
--- 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("");