Skip to content

Commit

Permalink
fixup! test drop order for parameters when a future is dropped part-w…
Browse files Browse the repository at this point in the history
…ay through execution
  • Loading branch information
alsuren committed Aug 6, 2019
1 parent f40190a commit 3882ed4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
Expand Down

0 comments on commit 3882ed4

Please sign in to comment.