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 1fbac8f commit c90f23cCopy full SHA for c90f23c
compio/tests/runtime.rs
@@ -24,8 +24,7 @@ async fn multi_threading() {
24
tx.write_all(DATA).await.0.unwrap();
25
26
27
- let (n, buffer) = rx.read_exact(Vec::with_capacity(DATA.len())).await.unwrap();
28
- assert_eq!(n, buffer.len());
+ let ((), buffer) = rx.read_exact(Vec::with_capacity(DATA.len())).await.unwrap();
29
assert_eq!(DATA, String::from_utf8(buffer).unwrap());
30
31
compio::runtime::spawn_blocking(move || {
0 commit comments