()
| 204 | |
| 205 | #[tokio::test] |
| 206 | async fn frame_read_eof() { |
| 207 | let mut cursor = std::io::Cursor::new(Vec::<u8>::new()); |
| 208 | let result = read_frame(&mut cursor).await.unwrap(); |
| 209 | assert!(result.is_none()); |
| 210 | } |
| 211 | |
| 212 | #[tokio::test] |
| 213 | async fn frame_reject_oversized() { |
nothing calls this directly
no test coverage detected