mirror of
https://github.com/logos-messaging/go-multiaddr.git
synced 2026-01-06 15:03:06 +00:00
fix go vet issue
This commit is contained in:
parent
c35c6b25b9
commit
6c6b26b274
@ -297,7 +297,7 @@ func TestIP6LinkLocal(t *testing.T) {
|
||||
isLinkLocal := (a == 0xfe80)
|
||||
m := newMultiaddr(t, fmt.Sprintf("/ip6/%x::1", a))
|
||||
if IsIP6LinkLocal(m) != isLinkLocal {
|
||||
t.Error("IsIP6LinkLocal failed (%s != %v)", m, isLinkLocal)
|
||||
t.Errorf("IsIP6LinkLocal failed (%s != %v)", m, isLinkLocal)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user