(t *testing.T)
| 299 | |
| 300 | func TestInput_module(t *testing.T) { testInput(t, nil) } |
| 301 | func TestInput_worker(t *testing.T) { testInput(t, &testOptions{workerScript: "input.php"}) } |
| 302 | func testInput(t *testing.T, opts *testOptions) { |
| 303 | runTest(t, func(handler func(http.ResponseWriter, *http.Request), _ *httptest.Server, i int) { |
| 304 | body, resp := testPost("http://example.com/input.php", fmt.Sprintf("post data %d", i), handler, t) |
nothing calls this directly
no test coverage detected