fix drop order test
This commit is contained in:
1 parent
8f786d85cd
commit
e5a11aa2a5
1 file changed
+3
-1
@@ -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 {} }
|
||||
|
||||
Reference in new issue
Block a user