Skip to content

Commit

Permalink
Fix html in test.
Browse files Browse the repository at this point in the history
  • Loading branch information
finnbear committed Mar 23, 2024
1 parent f5bfd27 commit 77d3c0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/yew/src/dom_bundle/braw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ mod tests {
fn braw_works_svg() {
let (root, scope, parent) = setup_parent_svg();

const HTML: &str = r#"<circle cx="50" cy="50" r="40" />"#;
const HTML: &str = r#"<circle cx="50" cy="50" r="40"><circle/>"#;
let elem = VNode::from_html_unchecked(HTML.into());
let (_, mut elem) = elem.attach(&root, &scope, &parent, DomSlot::at_end());
assert_braw(&mut elem);
Expand Down

0 comments on commit 77d3c0c

Please sign in to comment.