(t *testing.T)
| 474 | |
| 475 | func TestAutoloader_module(t *testing.T) { testAutoloader(t, nil) } |
| 476 | func TestAutoloader_worker(t *testing.T) { |
| 477 | testAutoloader(t, &testOptions{workerScript: "autoloader.php"}) |
| 478 | } |
| 479 | func testAutoloader(t *testing.T, opts *testOptions) { |
| 480 | runTest(t, func(handler func(http.ResponseWriter, *http.Request), _ *httptest.Server, i int) { |
| 481 | body, _ := testGet(fmt.Sprintf("http://example.com/autoloader.php?i=%d", i), handler, t) |
nothing calls this directly
no test coverage detected