fix should edit the attributes of the element test

This commit is contained in:
Minas Keshishyan 2020-02-03 13:23:05 +04:00
parent 1f0ebc52c7
commit 2315ec89a2

View file

@ -326,7 +326,7 @@ describe('HTML Parser', function () {
root.firstChild.attributes.should.eql({
'a': '13',
});
root.firstChild.toString().should.eql('<p a=13></p>');
root.firstChild.toString().should.eql('<p a="13"></p>');
});
it('should add an attribute to the element', function () {
var root = parseHTML('<p a=12></p>');