fix tests

This commit is contained in:
Jonathan Kelley committed 2024-01-10 23:17:01 -08:00
1 parent c5dfbd7913
commit f1e8faffb5
6 files changed
+77 -44

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ fn test_memory_leak() {
cx.spawn(async {});
if val == 2 || val == 4 {
return None;
return render!({ () });
}
let name = cx.use_hook(|| String::from("numbers: "));