Skip to content

Commit

Permalink
%s/Actually sending/Sending
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Apr 30, 2024
1 parent 5d8db3a commit 5c696ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions neqo-http3/tests/httpconn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ fn test_data_writable_events_low_watermark() -> Result<(), Box<dyn std::error::E
let mut request = receive_request(&mut hconn_s).unwrap();
request.send_headers(&[Header::new(":status", "200")])?;

// Actually sending these headers clears the serve's send stream buffer and
// thus emits a DataWritable event.
// Sending these headers clears the serve's send stream buffer and thus
// emits a DataWritable event.
exchange_packets(&mut hconn_c, &mut hconn_s, None);
let data_writable = |e| {
matches!(
Expand All @@ -296,8 +296,8 @@ fn test_data_writable_events_low_watermark() -> Result<(), Box<dyn std::error::E
assert_eq!(sent, all_but_one);
assert_eq!(request.available()?, 1);

// Actually sending the buffered data clears the send stream buffer and thus
// emits a DataWritable event.
// Sending the buffered data clears the send stream buffer and thus emits a
// DataWritable event.
exchange_packets(&mut hconn_c, &mut hconn_s, None);
assert!(hconn_s.events().any(data_writable));

Expand Down

0 comments on commit 5c696ba

Please sign in to comment.