gerben
/
doctype-to-string
Convert a DOM DocumentType into a string, e.g. "<!DOCTYPE html>"
Code
Issues
0
Pull Requests
0
Releases
6
Activity
Browse Source
Fix test for case without doctype.
tags/v0.1.2
Gerben
6 years ago
parent
b94ae7f4eb
commit
c44881e5d2
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
test/index.js
+ 1
- 1
test/index.js
View File
@@ -15,7 +15,7 @@ function makeStubDocument(doctype) {
test('should return empty string if absent', t => {
const doctype = ''
const doc = makeStubDocument()
const doc = makeStubDocument(
doctype
)
t.is(doctypeToString(doc.doctype), doctype)
})
Write
Preview
Loading…
Cancel
Save