()
| 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() { |