Skip to content

Commit 6c6b26b

Browse files
committed
fix go vet issue
1 parent c35c6b2 commit 6c6b26b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ func TestIP6LinkLocal(t *testing.T) {
297297
isLinkLocal := (a == 0xfe80)
298298
m := newMultiaddr(t, fmt.Sprintf("/ip6/%x::1", a))
299299
if IsIP6LinkLocal(m) != isLinkLocal {
300-
t.Error("IsIP6LinkLocal failed (%s != %v)", m, isLinkLocal)
300+
t.Errorf("IsIP6LinkLocal failed (%s != %v)", m, isLinkLocal)
301301
}
302302
}
303303
}

0 commit comments

Comments
 (0)