(t *testing.T)
| 559 | |
| 560 | func TestException_module(t *testing.T) { testException(t, &testOptions{}) } |
| 561 | func TestException_worker(t *testing.T) { |
| 562 | testException(t, &testOptions{workerScript: "exception.php"}) |
| 563 | } |
| 564 | func testException(t *testing.T, opts *testOptions) { |
| 565 | runTest(t, func(handler func(http.ResponseWriter, *http.Request), _ *httptest.Server, i int) { |
| 566 | body, _ := testGet(fmt.Sprintf("http://example.com/exception.php?i=%d", i), handler, t) |
nothing calls this directly
no test coverage detected