1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

types/types_test: Rename test to match function

The function tested by TestUtilGetHostPortionIP is called GetHostPartIP.
Rename the test to match the function being tested.

Signed-off-by: Euan Harris <euan.harris@docker.com>
This commit is contained in:
Euan Harris 2018-05-24 10:00:09 +01:00
parent ebf0054912
commit f6ddf88cec

View file

@ -216,7 +216,7 @@ func TestCompareIPMask(t *testing.T) {
} }
} }
func TestUtilGetHostPortionIP(t *testing.T) { func TestUtilGetHostPartIP(t *testing.T) {
input := []struct { input := []struct {
ip net.IP ip net.IP
mask net.IPMask mask net.IPMask