mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: fix vet nits
Fixes these vet complaints: net/error_test.go:254: unrecognized printf flag for verb 'T': '#' os/os_test.go:1067: arg mt for printf verb %d of wrong type: time.Time runtime/debug/garbage_test.go:83: arg dt for printf verb %d of wrong type: time.Time Change-Id: I0e986712a4b083b75fb111e687e424d06a85a47b Reviewed-on: https://go-review.googlesource.com/33167 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
afa68b36cc
commit
7c9f910607
3 changed files with 3 additions and 3 deletions
|
|
@ -251,7 +251,7 @@ func TestDialAddrError(t *testing.T) {
|
|||
operr := err.(*OpError).Err
|
||||
aerr, ok := operr.(*AddrError)
|
||||
if !ok {
|
||||
t.Errorf("%s: %v is %#T, want *AddrError", op, err, operr)
|
||||
t.Errorf("%s: %v is %T, want *AddrError", op, err, operr)
|
||||
continue
|
||||
}
|
||||
want := tt.lit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue