fix drop order test

This commit is contained in:
Evan Almloff 2024-01-22 09:13:05 -06:00
parent 8f786d85cd
commit e5a11aa2a5

View file

@ -127,9 +127,11 @@ fn hooks_drop_before_contexts() {
impl Drop for ReadsContextOnDrop {
fn drop(&mut self) {
let _ = consume_context::<i32>();
assert_eq!(123, consume_context::<i32>());
}
}
ReadsContextOnDrop
});
rsx! { div {} }