fix ssr tests
This commit is contained in:
1 parent
b039d6acc0
commit
16d5d00bdf
8 files changed
+36
-32
No files matched your search
@@ -2,7 +2,7 @@ use dioxus::prelude::*;
|
||||
|
||||
#[test]
|
||||
fn static_inner_html() {
|
||||
fn app(_: ()) -> Element {
|
||||
fn app() -> Element {
|
||||
render! { div { dangerous_inner_html: "<div>1234</div>" } }
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ fn static_inner_html() {
|
||||
|
||||
#[test]
|
||||
fn dynamic_inner_html() {
|
||||
fn app(_: ()) -> Element {
|
||||
fn app() -> Element {
|
||||
let inner_html = "<div>1234</div>";
|
||||
render! { div { dangerous_inner_html: "{inner_html}" } }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user