mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-04 09:51:07 +00:00
Make unbounded channels size warning exact (part 2) (#13504)
This commit is contained in:
1 parent
58d1d9e117
commit
3118026576
14 files changed
+216
-347
No files matched your search
@@ -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