(t *testing.T, msg fantasy.Message)
| 724 | } |
| 725 | |
| 726 | func singleText(t *testing.T, msg fantasy.Message) string { |
| 727 | t.Helper() |
| 728 | require.NotEmpty(t, msg.Content) |
| 729 | text, ok := fantasy.AsMessagePart[fantasy.TextPart](msg.Content[0]) |
| 730 | require.True(t, ok) |
| 731 | return text.Text |
| 732 | } |
no test coverage detected