net/http, reflect: rename Test function names

To be consistent with other tests.

Change-Id: Ibea1d3bf57a295f024e05173d17112ce46a4f0bc
Reviewed-on: https://go-review.googlesource.com/c/go/+/585895
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
Auto-Submit: Damien Neil <dneil@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
changes/95/585895/3
Jes Cok 2024-05-16 06:49:49 +08:00 committed by Gopher Robot
parent 13d36a9b46
commit ae5ee7042e
2 changed files with 3 additions and 3 deletions

View File

@ -1456,7 +1456,7 @@ func (d fileServerCleanPathDir) Open(path string) (File, error) {
type panicOnSeek struct{ io.ReadSeeker }
func Test_scanETag(t *testing.T) {
func TestScanETag(t *testing.T) {
tests := []struct {
in string
wantETag string

View File

@ -118,7 +118,7 @@ func BenchmarkTypeForError(b *testing.B) {
}
}
func Test_Type_CanSeq(t *testing.T) {
func TestType_CanSeq(t *testing.T) {
tests := []struct {
name string
tr reflect.Type
@ -143,7 +143,7 @@ func Test_Type_CanSeq(t *testing.T) {
}
}
func Test_Type_CanSeq2(t *testing.T) {
func TestType_CanSeq2(t *testing.T) {
tests := []struct {
name string
tr reflect.Type