mirror of
https://github.com/taigrr/godns
synced 2025-01-18 04:03:25 -08:00
Update test case
This commit is contained in:
parent
644bc1d6cc
commit
5d951f35d0
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user