From 5d951f35d07209b07e710c44806f222eb8d02550 Mon Sep 17 00:00:00 2001 From: Timothy Date: Wed, 11 May 2016 16:09:17 +0800 Subject: [PATCH] Update test case --- dns_handler_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) } }