fixup! test drop order for parameters when a future is dropped part-way through execution

This commit is contained in:
David Laban 2019-08-06 10:26:37 +01:00
parent f40190a6a5
commit 3882ed4abc

View File

@ -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()));