// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build go1.25 || goexperiment.synctest package http2 import ( "errors" "fmt" "io" "net/http" "reflect" "strconv" "testing" "testing/synctest" "time" ) func TestServer_Push_Success(t *testing.T) { synctestTest(t, testServer_Push_Success) } func testServer_Push_Success(t testing.TB) { const ( mainBody = "
index page