fix: Golang Lint error

This commit is contained in:
dataCenter430 2026-03-13 17:43:25 +01:00
parent 68dc53adb1
commit 0df5379975

View file

@ -1263,7 +1263,8 @@ func TestResolveMediaRefs_EmptyContentGetsPathTag(t *testing.T) {
docPath := filepath.Join(dir, "doc.docx")
os.WriteFile(docPath, []byte("fake docx"), 0o644)
ref, _ := store.Store(docPath, media.MediaMeta{ContentType: "application/vnd.openxmlformats-officedocument.wordprocessingml.document"}, "test")
docxMIME := "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
ref, _ := store.Store(docPath, media.MediaMeta{ContentType: docxMIME}, "test")
messages := []providers.Message{
{Role: "user", Content: "", Media: []string{ref}},