Skip to content

Commit

Permalink
cleanup and reenable one more test
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Nov 13, 2024
1 parent 2c357f8 commit 1c96ca2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public class DOMFragmentParserTest {
* See <a href="https://sourceforge.net/p/nekohtml/bugs/154/">Bug 154</a>.
*/
@Test
public void attrEndingWithCRAtEndOfStream() {
// TODO doTest("<a href=\"\r", "<A href=\"&#xa;\"/>");
public void attrEndingWithCRAtEndOfStream() throws Exception {
doTest("<a href=\"\r", "");
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ public void tagName() throws Exception {
+ "</bodY></HTML>";

DOMParser parser = new DOMParser(HTMLDocumentImpl.class);
// parser.setProperty("http://cyberneko.org/html/properties/names/elems", "lower");
// parser.setProperty("http://cyberneko.org/html/properties/names/attrs", "lower");

// parser.setProperty("http://cyberneko.org/html/properties/names/elems", "upper");
// parser.setProperty("http://cyberneko.org/html/properties/names/attrs", "upper");

parser.parse(new InputSource(new StringReader(html)));
Document doc = parser.getDocument();

Expand Down

0 comments on commit 1c96ca2

Please sign in to comment.