We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a69c0f commit 5a3ef4dCopy full SHA for 5a3ef4d
futures-channel/tests/mpsc.rs
@@ -101,7 +101,7 @@ fn send_recv_threads_no_capacity() {
101
let (send_res_1, send_res_2) = block_on(join(tx.send(1), readytx.send(())));
102
send_res_1.unwrap();
103
send_res_2.unwrap();
104
- block_on(join(tx.send(2), readytx.send(())));
+ block_on(join(tx.send(2), readytx.send(())))
105
});
106
107
readyrx.next();
@@ -111,7 +111,9 @@ fn send_recv_threads_no_capacity() {
111
assert_eq!(rx.next(), Some(2));
112
drop(rx);
113
114
- t.join().unwrap();
+ let (x, y) = t.join().unwrap();
115
+ assert!(x.is_ok());
116
+ assert!(y.is_ok());
117
}
118
119
#[test]
0 commit comments