(t *testing.T)
| 782 | |
| 783 | func TestFileUpload_module(t *testing.T) { testFileUpload(t, &testOptions{}) } |
| 784 | func TestFileUpload_worker(t *testing.T) { |
| 785 | testFileUpload(t, &testOptions{workerScript: "file-upload.php"}) |
| 786 | } |
| 787 | func testFileUpload(t *testing.T, opts *testOptions) { |
| 788 | runTest(t, func(handler func(http.ResponseWriter, *http.Request), _ *httptest.Server, i int) { |
| 789 | requestBody := &bytes.Buffer{} |
nothing calls this directly
no test coverage detected