@@ -4731,7 +4731,7 @@ mod tests {
4731
4731
// write empty data with fin flag, it should be ok.
4732
4732
assert_eq ! ( stream. send. write( Bytes :: new( ) , true ) , Ok ( 0 ) ) ;
4733
4733
4734
- // Shutdown the stream abrubtly , it should be ok.
4734
+ // Shutdown the stream abruptly , it should be ok.
4735
4735
assert_eq ! ( stream. send. shutdown( ) , Ok ( ( 0 , 18 ) ) ) ;
4736
4736
// Here we call `write` to make sure the stream's fin_off is set.
4737
4737
assert_eq ! ( stream. recv. write( 0 , Bytes :: new( ) , true ) , Ok ( ( ) ) ) ;
@@ -4939,7 +4939,7 @@ mod tests {
4939
4939
assert_eq ! ( map. get( 20 ) . unwrap( ) . recv. fin_off, Some ( 30 ) ) ;
4940
4940
4941
4941
// 10. Receive a RESET_STREAM frame for a stream which has been closed.
4942
- // Shutdown the stream abrubtly , it should be ok.
4942
+ // Shutdown the stream abruptly , it should be ok.
4943
4943
let stream = map. get_or_create ( 24 , false ) . unwrap ( ) ;
4944
4944
assert_eq ! ( stream. send. shutdown( ) , Ok ( ( 0 , 0 ) ) ) ;
4945
4945
// Here we call `write` to make sure the stream's fin_off is set.
@@ -5064,7 +5064,7 @@ mod tests {
5064
5064
assert_eq ! ( map. on_stop_sending_frame_received( 4 , 0 ) , Ok ( ( ) ) ) ;
5065
5065
5066
5066
// 5. Receive a STOP_SENDING frame for a stream which has been closed.
5067
- // Shutdown the stream abrubtly , it should be ok.
5067
+ // Shutdown the stream abruptly , it should be ok.
5068
5068
let stream = map. get_or_create ( 24 , false ) . unwrap ( ) ;
5069
5069
assert_eq ! ( stream. send. shutdown( ) , Ok ( ( 0 , 0 ) ) ) ;
5070
5070
// Here we call `write` to make sure the stream's fin_off is set.
@@ -5134,7 +5134,7 @@ mod tests {
5134
5134
assert_eq ! ( map. on_stop_sending_frame_received( 5 , 0 ) , Ok ( ( ) ) ) ;
5135
5135
5136
5136
// 5. Receive a STOP_SENDING frame for a stream which has been closed.
5137
- // Shutdown the stream abrubtly , it should be ok.
5137
+ // Shutdown the stream abruptly , it should be ok.
5138
5138
let stream = map. get_or_create ( 25 , false ) . unwrap ( ) ;
5139
5139
assert_eq ! ( stream. send. shutdown( ) , Ok ( ( 0 , 0 ) ) ) ;
5140
5140
// Here we call `write` to make sure the stream's fin_off is set.
0 commit comments