Skip to content

Commit

Permalink
fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
its-the-shrimp committed Aug 20, 2023
1 parent 7d3d878 commit 31acb30
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/yew/src/virtual_dom/vtag.rs
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ mod ssr_tests {
fn Comp() -> Html {
let one = "html { background: black } ";
let two = "body > a { color: white } ";
html!{
html! {
<style>
{one}
{two}
Expand All @@ -674,6 +674,9 @@ mod ssr_tests {
.render()
.await;

assert_eq!(s, r#"<style>html { background: black } body > a { color: white } </style>"#);
assert_eq!(
s,
r#"<style>html { background: black } body > a { color: white } </style>"#
);
}
}

0 comments on commit 31acb30

Please sign in to comment.