Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! net: add a somke test for quickack
  • Loading branch information
ADD-SP committed Jul 30, 2025
commit f96c5e883d2f96e9b273dac1ec35b3373024fce6
4 changes: 2 additions & 2 deletions tokio/tests/net_quickack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async fn socket_works_with_quickack() {
stream.read_exact(&mut buf).await.unwrap();
assert_eq!(buf, MESSAGE.as_bytes());

// There is nothing special about setting quickack to false,
// There is nothing special about setting quickack to false
// at this point, we just want to test the `false` case.
stream.set_quickack(false).unwrap();
assert!(!stream.quickack().unwrap());
Expand All @@ -57,7 +57,7 @@ async fn socket_works_with_quickack() {

stream.write_all(MESSAGE.as_bytes()).await.unwrap();

// There is nothing special about setting quickack to false,
// There is nothing special about setting quickack to false
// at this point, we just want to test the `false` case.
stream.set_quickack(false).unwrap();
assert!(!stream.quickack().unwrap());
Expand Down
Loading