pkg/netutil: test loopbackIP

Change-Id: I18f84e84549f520d7ff1a87a7c1d487a6a51d9bd
This commit is contained in:
mpl 2016-04-05 18:45:17 +02:00
parent 068be25691
commit f42699b2ae
1 changed files with 1 additions and 5 deletions

View File

@ -156,11 +156,7 @@ func testLocalhostResolver(t *testing.T, resolve func() net.IP) {
}
}
func testLocalhost(t *testing.T) {
testLocalhostResolver(t, localhostLookup)
}
func testLoopbackIp(t *testing.T) {
func TestLoopbackIP(t *testing.T) {
testLocalhostResolver(t, loopbackIP)
}