mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 04:21:21 +00:00
Adding in PartialEq and Eq to web-sys types
This commit is contained in:
@ -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");
|
||||
|
Reference in New Issue
Block a user