mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
fixup! test drop order for parameters when a future is dropped part-way through execution
This commit is contained in:
parent
f40190a6a5
commit
3882ed4abc
@ -199,7 +199,7 @@ fn assert_drop_order_after_cancel<Fut: Future<Output = ()>>(
|
||||
|
||||
// Parameters are never dropped until the future completes.
|
||||
assert_eq!(*actual_order.borrow(), vec![DropOrder::Function]);
|
||||
|
||||
|
||||
drop(fut);
|
||||
|
||||
let expected_order = Rc::new(RefCell::new(Vec::new()));
|
||||
|
Loading…
Reference in New Issue
Block a user