Skip to content

Commit

Permalink
fixup! Read exactly 11 bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaseizinger committed May 20, 2022
1 parent cc75a1a commit 67c8901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion muxers/mplex/tests/two_peers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ fn protocol_not_match() {
.unwrap();

let mut buf = vec![0u8; 11];
inbound.read_exact(&mut buf).await.unwrap();
outbound.read_exact(&mut buf).await.unwrap();
assert_eq!(buf, b"hello world");
});

Expand Down

0 comments on commit 67c8901

Please sign in to comment.