This commit is contained in:
Matthew Zeng
2026-03-31 23:27:16 -04:00
parent 1c7bf9d35a
commit 41052984fd
2 changed files with 2 additions and 4 deletions

View File

@@ -50,10 +50,6 @@ fn split_qualified_tool_name_returns_server_and_tool() {
split_qualified_tool_name("mcp__alpha__do_thing"),
Some(("alpha".to_string(), "do_thing".to_string()))
);
assert_eq!(
split_qualified_tool_name("mcp__basic-react__get-time"),
Some(("basic-react".to_string(), "get-time".to_string()))
);
}
#[test]

View File

@@ -479,6 +479,7 @@ fn mcp_tool_call_begin_and_end_emit_item_events() {
result: Some(McpToolCallResult {
content: Vec::new(),
structured_content: None,
meta: None,
}),
error: None,
duration_ms: Some(1_000),
@@ -610,6 +611,7 @@ fn mcp_tool_call_defaults_arguments_and_preserves_structured_content() {
"text": "done",
})],
structured_content: Some(json!({ "status": "ok" })),
meta: None,
}),
error: None,
duration_ms: Some(10),