(t *testing.T)
| 212 | } |
| 213 | |
| 214 | func TestProcessAttachment_NilFile_Error(t *testing.T) { |
| 215 | t.Parallel() |
| 216 | _, err := chat.ProcessAttachment(t.Context(), chat.MessagePart{ |
| 217 | Type: chat.MessagePartTypeFile, |
| 218 | File: nil, |
| 219 | }) |
| 220 | require.Error(t, err) |
| 221 | } |
| 222 | |
| 223 | // ────────────────────────────────────────────────────────────────────────────── |
| 224 | // ProcessAttachment — MessagePartTypeImageURL |
nothing calls this directly
no test coverage detected