mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 15:51:12 +00:00
Make unbounded channels size warning exact (part 2) (#13504)
This commit is contained in:
@@ -37,9 +37,8 @@ fn positive_rx_receives_relevant_messages_and_terminates_upon_hub_drop() {
|
||||
// Hub is disposed. The rx_01 should be over after that.
|
||||
std::mem::drop(hub);
|
||||
|
||||
assert!(!rx_01.is_terminated());
|
||||
assert_eq!(None, rx_01.next().await);
|
||||
assert!(rx_01.is_terminated());
|
||||
assert_eq!(None, rx_01.next().await);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user