github.com/lingyao2333/mo-zero@v1.4.1/core/netx/ip_test.go (about)

     1  package netx
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/stretchr/testify/assert"
     7  )
     8  
     9  func TestInternalIp(t *testing.T) {
    10  	assert.True(t, len(InternalIp()) > 0)
    11  }