(t *testing.T)
| 302 | } |
| 303 | |
| 304 | func 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 | |
| 321 | func TestBundledInstructionRepos(t *testing.T) { |
| 322 | repos, err := loadBundled(entities.KindInstruction) |
nothing calls this directly
no test coverage detected