Skip to content

Commit

Permalink
add code test
Browse files Browse the repository at this point in the history
  • Loading branch information
taoqf committed Feb 7, 2020
1 parent d1647e7 commit 45e77f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ describe('HTML Parser', function () {
root.firstChild.attributes.alt.should.eql(`Verissimo, Ilaria D'Amico: «Sogno una bambina. Buffon mi ha chiesto in moglie tante volte»`);
root.firstChild.setAttribute('alt', '«Sogno');
root.firstChild.getAttribute('alt').should.eql('«Sogno');
root.firstChild.rawAttributes.alt.should.eql('«Sogno');
});
});
});
Expand Down

0 comments on commit 45e77f3

Please sign in to comment.