From c44881e5d2cbbf13746c5a67595b75e98e520a7c Mon Sep 17 00:00:00 2001 From: Gerben Date: Thu, 12 Apr 2018 11:17:42 +0200 Subject: [PATCH] Fix test for case without doctype. --- test/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/index.js b/test/index.js index e60378c..6800a34 100644 --- a/test/index.js +++ b/test/index.js @@ -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) })