#62680: make test pass on Windows too.
1.1 --- a/openide.util/test/unit/src/org/openide/xml/XMLUtilTest.java Fri Aug 19 02:56:50 2005 +0000
1.2 +++ b/openide.util/test/unit/src/org/openide/xml/XMLUtilTest.java Fri Aug 19 21:14:57 2005 +0000
1.3 @@ -275,7 +275,7 @@
1.4 doc.getDocumentElement().appendChild(doc.createElement("child"));
1.5 ByteArrayOutputStream baos = new ByteArrayOutputStream();
1.6 XMLUtil.write(doc, baos, "UTF-8");
1.7 - String data = baos.toString();
1.8 + String data = baos.toString()/*#62680*/.replaceAll("\r\n", "\n");
1.9 assertTrue("had reasonable indentation in\n" + data, data.indexOf("<root>\n <child/>\n</root>\n") != -1);
1.10 }
1.11