()
| 451 | |
| 452 | #[tokio::test] |
| 453 | async fn text_into_response() { |
| 454 | let response = "text".into_response().await; |
| 455 | match response.body() { |
| 456 | Body::Text(text) => assert_eq!(text, "text"), |
| 457 | _ => panic!("invalid body"), |
| 458 | } |
| 459 | } |
| 460 | |
| 461 | #[tokio::test] |
| 462 | async fn bytes_into_response() { |
nothing calls this directly
no test coverage detected