review(http): mark http/review-mcp completed + fix formatting across crate
Review-mcp verification complete: all 12 checklist items pass (from_mcp/to_mcp conformance, ADR-037/041/014/023/034, feature gate isolation, GatewayDispatch concrete struct, test coverage 223+5). Applied cargo fmt across crate.
This commit is contained in:
@@ -128,7 +128,10 @@ mod tests {
|
||||
let out: EventEnvelope = response.into();
|
||||
assert_eq!(out.r#type, EVENT_RESPONDED);
|
||||
assert_eq!(out.id, "ws-rt-1");
|
||||
assert_eq!(out.payload.get("output"), Some(&serde_json::json!({ "v": 7 })));
|
||||
assert_eq!(
|
||||
out.payload.get("output"),
|
||||
Some(&serde_json::json!({ "v": 7 }))
|
||||
);
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
@@ -160,7 +163,10 @@ mod tests {
|
||||
async fn ws_overlay_only_connection_holds_overlay_and_pending() {
|
||||
let conn = CallConnection::new_overlay_only(identity("ws-peer"));
|
||||
assert!(conn.connection().is_none());
|
||||
assert_eq!(conn.identity().map(|i| i.id.clone()), Some("ws-peer".to_string()));
|
||||
assert_eq!(
|
||||
conn.identity().map(|i| i.id.clone()),
|
||||
Some("ws-peer".to_string())
|
||||
);
|
||||
assert!(conn.pending().lock().is_empty());
|
||||
|
||||
let env = conn.overlay_env();
|
||||
|
||||
Reference in New Issue
Block a user