Skip to content

Commit

Permalink
Fix broken expect test (#734)
Browse files Browse the repository at this point in the history
Fix test
  • Loading branch information
lukechu10 authored Oct 20, 2024
1 parent 614b49c commit 4573c19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sycamore-web/src/node/ssr_render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ mod tests {
let res = ssr.await;

let expect = expect![[
r#"<suspense-start data-key="1" data-hk="0.0"></suspense-start><!--/--><!--/--><!--/-->Hello, async!<!--/--><!--/--><!--/--><suspense-end data-key="1"></suspense-end>"#
r#"<no-ssr data-hk="0.1"></no-ssr><suspense-start data-key="1" data-hk="0.0"></suspense-start><!--/--><!--/--><!--/-->Hello, async!<!--/--><!--/--><!--/--><suspense-end data-key="1"></suspense-end>"#
]];
expect.assert_eq(&res);
}
Expand Down

0 comments on commit 4573c19

Please sign in to comment.