(t *testing.T)
| 153 | |
| 154 | func TestHelloWorld_module(t *testing.T) { testHelloWorld(t, nil) } |
| 155 | func TestHelloWorld_worker(t *testing.T) { |
| 156 | testHelloWorld(t, &testOptions{workerScript: "index.php"}) |
| 157 | } |
| 158 | func testHelloWorld(t *testing.T, opts *testOptions) { |
| 159 | runTest(t, func(handler func(http.ResponseWriter, *http.Request), _ *httptest.Server, i int) { |
| 160 | body, _ := testGet(fmt.Sprintf("http://example.com/index.php?i=%d", i), handler, t) |
nothing calls this directly
no test coverage detected