Skip to content

Commit ae5ee70

Browse files
callthingsoffgopherbot
authored andcommitted
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 <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Damien Neil <[email protected]> Auto-Submit: Damien Neil <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]>
1 parent 13d36a9 commit ae5ee70

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/net/http/fs_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1456,7 +1456,7 @@ func (d fileServerCleanPathDir) Open(path string) (File, error) {
14561456

14571457
type panicOnSeek struct{ io.ReadSeeker }
14581458

1459-
func Test_scanETag(t *testing.T) {
1459+
func TestScanETag(t *testing.T) {
14601460
tests := []struct {
14611461
in string
14621462
wantETag string

src/reflect/type_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func BenchmarkTypeForError(b *testing.B) {
118118
}
119119
}
120120

121-
func Test_Type_CanSeq(t *testing.T) {
121+
func TestType_CanSeq(t *testing.T) {
122122
tests := []struct {
123123
name string
124124
tr reflect.Type
@@ -143,7 +143,7 @@ func Test_Type_CanSeq(t *testing.T) {
143143
}
144144
}
145145

146-
func Test_Type_CanSeq2(t *testing.T) {
146+
func TestType_CanSeq2(t *testing.T) {
147147
tests := []struct {
148148
name string
149149
tr reflect.Type

0 commit comments

Comments
 (0)