|
|
@@ -36,13 +36,3 @@ test('should work for a doctype without public id', t => { |
|
|
|
const doc = makeStubDocument(doctype) |
|
|
|
t.is(doctypeToString(doc.doctype), doctype) |
|
|
|
}) |
|
|
|
|
|
|
|
// Cannot test, as modern parsers do not to support internal declarations. |
|
|
|
// test('should work for a doctype with internal declarations', t => { |
|
|
|
// const doctype = `<!DOCTYPE html SYSTEM "example.dtd" [ |
|
|
|
// <!ENTITY foo "foo"> |
|
|
|
// <!ENTITY bar "bar"> |
|
|
|
// ]>` |
|
|
|
// const doc = makeStubDocument(doctype) |
|
|
|
// t.is(doctypeToString(doc.doctype), doctype) |
|
|
|
// }) |