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:
parent
ebf0054912
commit
f6ddf88cec
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ func TestCompareIPMask(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
func TestUtilGetHostPortionIP(t *testing.T) {
|
||||
func TestUtilGetHostPartIP(t *testing.T) {
|
||||
input := []struct {
|
||||
ip net.IP
|
||||
mask net.IPMask
|
||||
|
|
Loading…
Reference in a new issue