Adding in PartialEq and Eq to web-sys types

This commit is contained in:
Pauan
2019-07-18 23:12:49 +02:00
parent 2529bb0b17
commit ed778f5eb2
2 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,8 @@ fn element() {
*/
let element = new_div();
assert_eq!(element, element);
assert_eq!(element.prefix(), None, "Shouldn't have a prefix");
assert_eq!(element.local_name(), "div", "Should have a div local name");
assert_eq!(element.tag_name(), "DIV", "Should be a div tag");