changeset 3349:c1c2a5f9ba0c

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 aa1236dbf865
children 9c2c24a6785d
files test/com/sun/javadoc/testHtmlDocument/TestHtmlDocument.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/com/sun/javadoc/testHtmlDocument/TestHtmlDocument.java	Sat May 10 01:24:35 2014 +0100
+++ b/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("");