@@ -4731,7 +4731,7 @@ mod tests {
47314731 // write empty data with fin flag, it should be ok.
47324732 assert_eq ! ( stream. send. write( Bytes :: new( ) , true ) , Ok ( 0 ) ) ;
47334733
4734- // Shutdown the stream abrubtly , it should be ok.
4734+ // Shutdown the stream abruptly , it should be ok.
47354735 assert_eq ! ( stream. send. shutdown( ) , Ok ( ( 0 , 18 ) ) ) ;
47364736 // Here we call `write` to make sure the stream's fin_off is set.
47374737 assert_eq ! ( stream. recv. write( 0 , Bytes :: new( ) , true ) , Ok ( ( ) ) ) ;
@@ -4939,7 +4939,7 @@ mod tests {
49394939 assert_eq ! ( map. get( 20 ) . unwrap( ) . recv. fin_off, Some ( 30 ) ) ;
49404940
49414941 // 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.
49434943 let stream = map. get_or_create ( 24 , false ) . unwrap ( ) ;
49444944 assert_eq ! ( stream. send. shutdown( ) , Ok ( ( 0 , 0 ) ) ) ;
49454945 // Here we call `write` to make sure the stream's fin_off is set.
@@ -5064,7 +5064,7 @@ mod tests {
50645064 assert_eq ! ( map. on_stop_sending_frame_received( 4 , 0 ) , Ok ( ( ) ) ) ;
50655065
50665066 // 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.
50685068 let stream = map. get_or_create ( 24 , false ) . unwrap ( ) ;
50695069 assert_eq ! ( stream. send. shutdown( ) , Ok ( ( 0 , 0 ) ) ) ;
50705070 // Here we call `write` to make sure the stream's fin_off is set.
@@ -5134,7 +5134,7 @@ mod tests {
51345134 assert_eq ! ( map. on_stop_sending_frame_received( 5 , 0 ) , Ok ( ( ) ) ) ;
51355135
51365136 // 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.
51385138 let stream = map. get_or_create ( 25 , false ) . unwrap ( ) ;
51395139 assert_eq ! ( stream. send. shutdown( ) , Ok ( ( 0 , 0 ) ) ) ;
51405140 // Here we call `write` to make sure the stream's fin_off is set.
0 commit comments