fix test warning

This commit is contained in:
Kay Simmons 2023-02-21 21:13:03 -08:00
parent 1c69e289b7
commit 46af9a90ce

View file

@ -6906,7 +6906,10 @@ mod tests {
Some("Test Label"), Some("Test Label"),
cx.update(|cx| cx.active_labeled_tasks().next()) cx.update(|cx| cx.active_labeled_tasks().next())
); );
sender.send(()).await; sender
.send(())
.await
.expect("Could not send message to complete task");
task.await; task.await;
assert_eq!(None, cx.update(|cx| cx.active_labeled_tasks().next())); assert_eq!(None, cx.update(|cx| cx.active_labeled_tasks().next()));