MCPcopy Create free account
hub / github.com/diillson/chatcli / TestKnowledgePlugin_Capabilities

Function TestKnowledgePlugin_Capabilities

cli/plugins/builtin_knowledge_test.go:163–168  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

161}
162
163func TestKnowledgePlugin_Capabilities(t *testing.T) {
164 p := NewBuiltinKnowledgePlugin()
165 if !p.IsReadOnly(nil) || !p.IsConcurrencySafe(nil) {
166 t.Fatal("@knowledge is read-only and concurrency-safe by construction")
167 }
168}
169
170// TestKnowledgePlugin_DescribeCall pins the spinner-label contract: short,
171// human one-liners — never the static description or the raw JSON envelope,

Callers

nothing calls this directly

Calls 3

IsReadOnlyMethod · 0.95
IsConcurrencySafeMethod · 0.95

Tested by

no test coverage detected