Skip to content

Commit

Permalink
docs: add badges
Browse files Browse the repository at this point in the history
  • Loading branch information
oyyd committed Jan 13, 2024
1 parent bcb4220 commit b9623c0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tokio_smux

TODO test badge TODO version badge
[![Build And Test](https://github.com/oyyd/tokio_smux/actions/workflows/build_and_test.yml/badge.svg)](https://github.com/oyyd/tokio_smux/actions) [![crates.io](https://img.shields.io/crates/v/tokio_smux.svg)](https://crates.io/crates/tokio_smux)

tokio_smux is an implementation of [smux](https://github.com/xtaci/smux/) in Rust, which is a stream multiplexing library in Golang.

Expand Down
1 change: 0 additions & 1 deletion src/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,6 @@ pub mod test {

let data = write_rx.recv().await.unwrap();
let frame = Frame::from_buf(&data).unwrap().unwrap();
let val: u8 = frame.cmd.into();
assert!(matches!(frame.cmd, Cmd::Psh));
let frame_data = &data[(HEADER_SIZE as usize)..HEADER_SIZE + (frame.length as usize)];
assert_eq!(String::from_utf8_lossy(frame_data).as_ref(), "world!");
Expand Down

0 comments on commit b9623c0

Please sign in to comment.