(t *testing.T)
| 930 | } |
| 931 | |
| 932 | func TestSetFileBytes(t *testing.T) { |
| 933 | resp := uploadTextFile(t, func(r *Request) { |
| 934 | r.SetFileBytes("file", "file.txt", []byte("test")) |
| 935 | }) |
| 936 | tests.AssertEqual(t, "test", resp.String()) |
| 937 | } |
| 938 | |
| 939 | func TestSetFileReader(t *testing.T) { |
| 940 | buff := bytes.NewBufferString("test") |
nothing calls this directly
no test coverage detected
searching dependent graphs…