work on fixing some core tests
This commit is contained in:
1 parent
4a1a00b0f0
commit
55f76fede6
35 files changed
+422
-460
No files matched your search
@@ -65,10 +65,10 @@ fn memos_prevents_component_rerun() {
|
||||
|cx| {
|
||||
let mut signal = use_signal(cx, || 0);
|
||||
|
||||
if cx.generation() == 1 {
|
||||
if generation() == 1 {
|
||||
*signal.write() = 0;
|
||||
}
|
||||
if cx.generation() == 2 {
|
||||
if generation() == 2 {
|
||||
println!("Writing to signal");
|
||||
*signal.write() = 1;
|
||||
}
|
||||
@@ -108,7 +108,7 @@ fn memos_prevents_component_rerun() {
|
||||
signal.value()
|
||||
})
|
||||
});
|
||||
match cx.generation() {
|
||||
match generation() {
|
||||
0 => {
|
||||
assert_eq!(memo.value(), 0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user