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

Function test_not_a_command

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

Source from the content-addressed store, hash-verified

522
523 #[test]
524 fn test_not_a_command() {
525 let reg = CommandRegistry::new();
526 let ctx = test_ctx();
527 assert!(reg.dispatch("hello world", &ctx).is_none());
528 }
529
530 #[test]
531 fn test_custom_command() {

Callers

nothing calls this directly

Calls 1

test_ctxFunction · 0.85

Tested by

no test coverage detected