mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 18:15:42 +01:00
Updated mime_test.go's function documentation
This commit is contained in:
parent
b06c316ee0
commit
22e6d49f3f
1 changed files with 2 additions and 2 deletions
|
|
@ -14,8 +14,8 @@ import (
|
|||
"testing"
|
||||
)
|
||||
|
||||
// CreateFormFile creates an [io.Writer] like [mime/multipart.Writer.CreateFromFile].
|
||||
// This version allows to set the mime type, too.
|
||||
// TestCreateFormFile tests if CreateFormFile throws an error when creating
|
||||
// a FormFile
|
||||
func TestCreateFormFile(t *testing.T) {
|
||||
body := new(bytes.Buffer)
|
||||
writer := multipart.NewWriter(body)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue