diff --git a/src/test/java/org/htmlunit/cyberneko/DOMParserTest.java b/src/test/java/org/htmlunit/cyberneko/DOMParserTest.java
index 84d7f205..ab88597f 100644
--- a/src/test/java/org/htmlunit/cyberneko/DOMParserTest.java
+++ b/src/test/java/org/htmlunit/cyberneko/DOMParserTest.java
@@ -34,42 +34,42 @@ public class DOMParserTest {
*/
@Test
public void parse() throws Exception {
- final String html = "
";
+ final String html = ""
+ + ""
+ + ""
+ + ""
+ + ""
+ + " "
+ + " "
+ + ""
+ + ""
+ + " "
+ + "";
- System.out.println(html);
-
- // final InputSource source = new InputSource(new StringReader(html));
final StringReader sr = new StringReader(html);
final XMLInputSource source = new XMLInputSource(null, "foo", null, sr, null);
final DOMParser parser = new DOMParser(HTMLDocumentImpl.class);
parser.parse(source);
-
- System.out.println(parser.getDocument());
}
-//
-// @Test
-// void testParseError() throws IOException{
-// String input = "";
-// URL url = getClass().getClassLoader().getResource("error_html.txt");
-//
-// String[] lines = Files.lines(new File(url.getPath()).toPath(), StandardCharsets.UTF_8).toArray(String[]::new);
-// for (String jsonStr : lines)
-// if (jsonStr.isEmpty()){
-// continue;
-// }
-//// JSONObject jsonObject = null;
-//// try {
-//// jsonObject = JSONObject.parseObject(jsonStr);
-//// }catch (Exception e){
-//// continue;
-//// }
-//
-//// String xpath = jsonObject.getString("xpath");
-//// String html = jsonObject.getString("html");
-// // final org.htmlunit.cyberneko.parsers.DOMParser parser = CommonUtil.xpathParse.getDomParser(html);
-// // Document document = parser.getDocument();
-// }
}