Files
portmaster/network/environment/location_test.go

14 lines
298 B
Go

// +build root
package environment
import "testing"
func TestGetApproximateInternetLocation(t *testing.T) {
ip, err := GetApproximateInternetLocation()
if err != nil {
t.Errorf("GetApproximateInternetLocation failed: %s", err)
}
t.Logf("GetApproximateInternetLocation: %s", ip.String())
}