(t *testing.T)
| 164 | } |
| 165 | |
| 166 | func TestSkillSearchNoResults(t *testing.T) { |
| 167 | isolatedHome(t) |
| 168 | seedEntity(t, entities.KindSkill, "deep-research", "content", "Deep research skill") |
| 169 | stdout, _, code := execute(t, "skill", "search", "nonexistent", "--local") |
| 170 | if code != 0 { |
| 171 | t.Fatalf("exit = %d", code) |
| 172 | } |
| 173 | if !strings.Contains(stdout, "No skills found matching") { |
| 174 | t.Fatalf("expected no-match message:\n%s", stdout) |
| 175 | } |
| 176 | } |
| 177 | |
| 178 | func TestSkillSearchMatchesDescription(t *testing.T) { |
| 179 | isolatedHome(t) |
nothing calls this directly
no test coverage detected