pull/1545/merge
changyang liu 3 weeks ago committed by GitHub
commit ceb77808a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -324,8 +324,6 @@ async fn test_handle_connection() {
};
handle_connection(&mut stream).await;
let mut buf = [0u8; 1024];
stream.read(&mut buf).await.unwrap();
let expected_contents = fs::read_to_string("hello.html").unwrap();
let expected_response = format!("HTTP/1.1 200 OK\r\n\r\n{}", expected_contents);

Loading…
Cancel
Save