Skip to content

Commit

Permalink
Merge pull request #225 from peterparkers/patch-1
Browse files Browse the repository at this point in the history
Update doctype-html5.spec.js
  • Loading branch information
thedaviddias authored Aug 22, 2018
2 parents 100ff90 + e08d06b commit 5e76ad7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/rules/doctype-html5.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ruleOptions[ruldId] = true;
describe('Rules: '+ruldId, function(){

it('Doctype not html5 should result in an error', function(){
var code = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html></html>';
var code = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "https://www.w3.org/TR/html4/strict.dtd"><html></html>';
var messages = HTMLHint.verify(code, ruleOptions);
expect(messages.length).to.be(1);
expect(messages[0].rule.id).to.be(ruldId);
Expand All @@ -30,4 +30,4 @@ describe('Rules: '+ruldId, function(){
expect(messages.length).to.be(0);
});

});
});

0 comments on commit 5e76ad7

Please sign in to comment.