diff --git a/dns_handler_test.go b/dns_handler_test.go index 1f4dc8e..d428a54 100644 --- a/dns_handler_test.go +++ b/dns_handler_test.go @@ -8,6 +8,8 @@ func Test_get_current_IP(t *testing.T) { ip, _ := get_currentIP("http://members.3322.org/dyndns/getip") if ip == "" { - t.Error("Cannot get IP...") + t.Log("IP is empty...") + } else { + t.Log("IP is:" + ip) } }