MCPcopy Create free account
hub / github.com/d0iasm/saba / test_different_elements

Function test_different_elements

core/src/renderer/dom/node.rs:422–427  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

420
421 #[test]
422 fn test_different_elements() {
423 let n1 = Node::new(NodeKind::Element(Element::new("html", Vec::new())));
424 let n2 = Node::new(NodeKind::Element(Element::new("body", Vec::new())));
425
426 assert_ne!(n1, n2);
427 }
428
429 #[test]
430 fn test_different_texts() {

Callers

nothing calls this directly

Calls 1

ElementClass · 0.85

Tested by

no test coverage detected