package updateip import "testing" func TestResolveCurrentIP(t *testing.T) { r := new(Ipify) v, err := r.CurrentIP() if err != nil { t.Error(err) } t.Log("current IP:", v) }