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

Function test_dispatch_tools

core/src/commands.rs:567–574  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

565
566 #[test]
567 fn test_dispatch_tools() {
568 let reg = CommandRegistry::new();
569 let ctx = test_ctx();
570 let out = reg.dispatch("/tools", &ctx).unwrap();
571 assert!(out.text.contains("5 total"));
572 assert!(out.text.contains("read"));
573 assert!(out.text.contains("mcp__github__create_issue"));
574 }
575
576 #[test]
577 fn test_dispatch_mcp() {

Callers

nothing calls this directly

Calls 2

test_ctxFunction · 0.85
dispatchMethod · 0.45

Tested by

no test coverage detected