diff --git a/packages/yew/src/dom_bundle/braw.rs b/packages/yew/src/dom_bundle/braw.rs index 601ea3a52ce..d6e14b9acc1 100644 --- a/packages/yew/src/dom_bundle/braw.rs +++ b/packages/yew/src/dom_bundle/braw.rs @@ -205,7 +205,11 @@ mod tests { assert_braw(&mut elem); assert_eq!(parent.inner_html(), HTML); assert_eq!( - parent.first_child().unwrap().namespace_uri(), + parent + .first_child() + .unwrap() + .unchecked_into::() + .namespace_uri(), Some(SVG_NAMESPACE) ); }