changeset 24402:96a0a92dc38d

8042886: Test langtools/test/com/sun/javadoc/testHtmlDocument/TestHtmlDocument.java fails on Windows Reviewed-by: darcy
author jjg
date Fri, 09 May 2014 18:50:12 -0700
parents 0d793293862a
children f2ce14657001
files langtools/test/com/sun/javadoc/testHtmlDocument/TestHtmlDocument.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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("");