]> Cypherpunks repositories - gostls13.git/commit
net/netip: use IPv4Unspecified in TestIPProperties
authorTobias Klauser <tklauser@distanz.ch>
Wed, 28 Sep 2022 12:02:18 +0000 (14:02 +0200)
committerGopher Robot <gobot@golang.org>
Fri, 7 Oct 2022 17:53:23 +0000 (17:53 +0000)
commit77c0e99c192331d44ddab664c4b6442925410cdc
tree98feb35ebdb526120632fdbd4d5ef0df2d892745
parentcecaa25bd31622f5ae0df7fd5c8c7f02afde8715
net/netip: use IPv4Unspecified in TestIPProperties

Also inline the single-use unspecified{4,6} variables.

Change-Id: I5992273031e0b8db1bc6f5de8fce669310226ee9
Reviewed-on: https://go-review.googlesource.com/c/go/+/435915
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/net/netip/netip_test.go