From afed76de72f895e3e9c691bd2ee712b3b96e9a0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=85=89=E6=98=A5?= Date: Sun, 15 May 2022 21:37:45 +0800 Subject: [PATCH] update --- ip_test.go | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/ip_test.go b/ip_test.go index 4f05f6b..2fce215 100644 --- a/ip_test.go +++ b/ip_test.go @@ -2,18 +2,9 @@ package goip import "testing" -func TestGetOutsideIp(t *testing.T) { - t.Log(GetOutsideIp()) -} - -func TestGetInsideIp(t *testing.T) { - t.Log(GetInsideIp()) -} - -func TestIps(t *testing.T) { +func TestIpIp(t *testing.T) { + t.Log("GetOutsideIp", GetOutsideIp()) + t.Log("GetInsideIp", GetInsideIp()) t.Log(Ips()) -} - -func TestGetMacAddr(t *testing.T) { - t.Log(GetMacAddr()) + t.Log("GetMacAddr", GetMacAddr()) }