(t *testing.T, resp fantasy.ToolResponse)
| 26 | } |
| 27 | |
| 28 | func responseName(t *testing.T, resp fantasy.ToolResponse) string { |
| 29 | t.Helper() |
| 30 | |
| 31 | var payload struct { |
| 32 | Name string `json:"name"` |
| 33 | } |
| 34 | require.NoError(t, json.Unmarshal([]byte(resp.Content), &payload)) |
| 35 | return payload.Name |
| 36 | } |
| 37 | |
| 38 | func TestFormatResolvedSkillIndex(t *testing.T) { |
| 39 | t.Parallel() |
no test coverage detected