go.mod: bump inet.af/netaddr to non-allocating version

This commit is contained in:
Brad Fitzpatrick
2020-12-22 14:25:32 -08:00
parent ef15096a7d
commit d0baece5fa
5 changed files with 12 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ func TestIP6String(t *testing.T) {
if got != str {
t.Errorf("got %q; want %q", got, str)
}
if allocs != 2 {
if allocs != 1 {
t.Errorf("allocs = %v; want 1", allocs)
}
}