mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 14:44:12 +00:00
fix test
This commit is contained in:
parent
fa9d92f956
commit
c5dfbd7913
2 changed files with 5 additions and 2 deletions
|
@ -8,8 +8,11 @@ fn app(cx: Scope) -> Element {
|
|||
let a = 123;
|
||||
let b = 456;
|
||||
let c = 789;
|
||||
let class = "class";
|
||||
let id = "id";
|
||||
|
||||
render! {
|
||||
div { class, id }
|
||||
Component { a, b, c }
|
||||
Component { a, ..ComponentProps { a: 1, b: 2, c: 3 } }
|
||||
}
|
||||
|
|
|
@ -267,10 +267,10 @@ async fn test_auto_fmt() {
|
|||
let test_rsx = r#"
|
||||
//
|
||||
|
||||
rsx! {
|
||||
|
||||
|
||||
div {}
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue