1
0
mirror of https://github.com/golang/go synced 2024-11-26 21:01:31 -07:00

net: fix a nit found by vet

Change-Id: Ic965b48bdc0e0ffba9bed5ff6b3d28ff742f8b2d
Reviewed-on: https://go-review.googlesource.com/9100
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Mikio Hara 2015-04-18 10:44:42 +09:00
parent f06795d9b7
commit 757f21fd6f

View File

@ -226,7 +226,7 @@ func TestAddrList(t *testing.T) {
}
if tt.err != nil {
if len(addrs) != 0 {
t.Errorf("#%v: got %v; want 0", len(addrs))
t.Errorf("#%v: got %v; want 0", i, len(addrs))
}
continue
}