8042886: Test langtools/test/com/sun/javadoc/testHtmlDocument/TestHtmlDocument.java fails on Windows

Reviewed-by: darcy
This commit is contained in:
Jonathan Gibbons 2014-05-09 18:50:12 -07:00
parent 9cf78d324c
commit 3b2a17f08f

View File

@ -51,7 +51,7 @@ public class TestHtmlDocument extends JavadocTester {
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("");