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

Function TestSkillHandlerPin_NotFound

cli/skill_pin_test.go:124–133  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

122}
123
124func TestSkillHandlerPin_NotFound(t *testing.T) {
125 sh, _ := newPinTestFixture(t, map[string]string{
126 "pin-normal": pinFixtureNormal,
127 })
128 sh.Pin("does-not-exist")
129
130 if sh.IsPinned("does-not-exist") {
131 t.Fatal("missing skill must not be added to the pin set")
132 }
133}
134
135func TestSkillHandlerPin_NoPersonaManager(t *testing.T) {
136 // Construct directly without a manager — the early-return guard should

Callers

nothing calls this directly

Calls 3

newPinTestFixtureFunction · 0.85
PinMethod · 0.80
IsPinnedMethod · 0.80

Tested by

no test coverage detected