From c52eadf6698b81e16d3f5005f10fd63717e0f04c Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Fri, 2 Jun 2023 14:58:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=80=E5=A4=84=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/configutils/ip_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/configutils/ip_test.go b/pkg/configutils/ip_test.go index d5ff020..aab0f26 100644 --- a/pkg/configutils/ip_test.go +++ b/pkg/configutils/ip_test.go @@ -39,3 +39,8 @@ func TestIPVersion(t *testing.T) { a.IsTrue(configutils.IPVersion(net.ParseIP("::1")) == 6) a.IsTrue(configutils.IPVersion(net.ParseIP("2001:0db8:85a3:0000:0000:8a2e:0370:7334")) == 6) } + + +func TestQuoteIP(t *testing.T) { + t.Log(configutils.QuoteIP(configutils.QuoteIP("2001:da8:22::10"))) +} \ No newline at end of file