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

Function test_dispatch_help

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

Source from the content-addressed store, hash-verified

461
462 #[test]
463 fn test_dispatch_help() {
464 let reg = CommandRegistry::new();
465 let ctx = test_ctx();
466 let out = reg.dispatch("/help", &ctx).unwrap();
467 assert!(!out.text.is_empty());
468 }
469
470 #[test]
471 fn test_dispatch_cost() {

Callers

nothing calls this directly

Calls 2

test_ctxFunction · 0.85
dispatchMethod · 0.45

Tested by

no test coverage detected