MCPcopy Create free account
hub / github.com/AI45Lab/Code / test_debug_format

Function test_debug_format

core/src/mcp/transport/streamable_http.rs:499–506  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

497
498 #[tokio::test]
499 async fn test_debug_format() {
500 let transport = StreamableHttpTransport::connect("http://127.0.0.1:1", HashMap::new())
501 .await
502 .unwrap();
503 let s = format!("{:?}", transport);
504 assert!(s.contains("StreamableHttpTransport"));
505 transport.close().await.unwrap();
506 }
507}

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected