|
@@ -15,7 +15,7 @@ function makeStubDocument(doctype) { |
|
|
|
|
|
|
|
|
test('should return empty string if absent', t => { |
|
|
test('should return empty string if absent', t => { |
|
|
const doctype = '' |
|
|
const doctype = '' |
|
|
const doc = makeStubDocument() |
|
|
|
|
|
|
|
|
const doc = makeStubDocument(doctype) |
|
|
t.is(doctypeToString(doc.doctype), doctype) |
|
|
t.is(doctypeToString(doc.doctype), doctype) |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|