diff --git a/agent_test.go b/agent_test.go index 8913b2b..f5ca54e 100644 --- a/agent_test.go +++ b/agent_test.go @@ -24,8 +24,6 @@ import ( "github.com/stretchr/testify/require" ) -const localhostIPStr = "127.0.0.1" - type BadAddr struct{} func (ba *BadAddr) Network() string { diff --git a/candidate_test.go b/candidate_test.go index 1cab463..5078154 100644 --- a/candidate_test.go +++ b/candidate_test.go @@ -13,6 +13,8 @@ import ( "github.com/stretchr/testify/require" ) +const localhostIPStr = "127.0.0.1" + func TestCandidateTypePreference(t *testing.T) { r := require.New(t)