Skip to content

Commit 415f837

Browse files
committed
remove unused test struct
1 parent 89ac504 commit 415f837

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

crates/kcserver/src/client_session.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -795,19 +795,6 @@ mod tests {
795795
}
796796
}
797797

798-
/// Mock stream that never provides data (simulates hanging client)
799-
struct MockEmptyStream;
800-
801-
impl AsyncRead for MockEmptyStream {
802-
fn poll_read(
803-
self: Pin<&mut Self>,
804-
_cx: &mut Context<'_>,
805-
_buf: &mut tokio::io::ReadBuf<'_>,
806-
) -> Poll<std::io::Result<()>> {
807-
Poll::Pending
808-
}
809-
}
810-
811798
#[tokio::test]
812799
async fn test_detect_http_websocket_request_valid_get() {
813800
let http_request = b"GET /sessions/test/channels HTTP/1.1\r\nHost: localhost\r\n";

0 commit comments

Comments
 (0)