make all core tests compile

This commit is contained in:
Evan Almloff committed 2024-01-11 15:18:11 -06:00
1 parent a9d09d858b
commit fd0a53ab63
21 files changed
+123 -148

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ use dioxus::prelude::*;
/// As we clean up old templates, the ID for the node should cycle
#[test]
fn cycling_elements() {
let mut dom = VirtualDom::new(|cx| match generation() % 2 {
let mut dom = VirtualDom::new(|| match generation() % 2 {
0 => render! { div { "wasd" } },
1 => render! { div { "abcd" } },
_ => unreachable!(),