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_boolean_attributs() {
|
||||
fn app(_: ()) -> Element {
|
||||
fn app() -> Element {
|
||||
render! {
|
||||
div { hidden: "false" }
|
||||
div { hidden: "true" }
|
||||
@@ -20,7 +20,7 @@ fn static_boolean_attributs() {
|
||||
|
||||
#[test]
|
||||
fn dynamic_boolean_attributs() {
|
||||
fn app(_: ()) -> Element {
|
||||
fn app() -> Element {
|
||||
render! {
|
||||
div { hidden: false }
|
||||
div { hidden: true }
|
||||
|
||||
Reference in new issue
Block a user