Skip to content

Commit

Permalink
Update doctype-html5.spec.js
Browse files Browse the repository at this point in the history
  • Loading branch information
peterparkers committed Dec 3, 2017
1 parent 60447c9 commit e08d06b
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 e08d06b

Please sign in to comment.