MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / TestRepoConfigKey

Function TestRepoConfigKey

internal/repoconfig/repoconfig_test.go:304–319  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

302}
303
304func TestRepoConfigKey(t *testing.T) {
305 tests := []struct {
306 kind entities.Kind
307 expected string
308 }{
309 {entities.KindSkill, "skills"},
310 {entities.KindAgent, "agents"},
311 {entities.KindPlugin, "plugins"},
312 {entities.KindInstruction, "instructions"},
313 }
314 for _, tt := range tests {
315 if got := repoConfigKey(tt.kind); got != tt.expected {
316 t.Errorf("repoConfigKey(%s) = %q, want %q", tt.kind, got, tt.expected)
317 }
318 }
319}
320
321func TestBundledInstructionRepos(t *testing.T) {
322 repos, err := loadBundled(entities.KindInstruction)

Callers

nothing calls this directly

Calls 1

repoConfigKeyFunction · 0.85

Tested by

no test coverage detected