(t *testing.T)
| 572 | |
| 573 | func TestEarlyHints_module(t *testing.T) { testEarlyHints(t, &testOptions{}) } |
| 574 | func TestEarlyHints_worker(t *testing.T) { |
| 575 | testEarlyHints(t, &testOptions{workerScript: "early-hints.php"}) |
| 576 | } |
| 577 | func testEarlyHints(t *testing.T, opts *testOptions) { |
| 578 | runTest(t, func(handler func(http.ResponseWriter, *http.Request), _ *httptest.Server, i int) { |
| 579 | var earlyHintReceived bool |
nothing calls this directly
no test coverage detected