增加一处测试用例

This commit is contained in:
GoEdgeLab
2023-06-02 14:58:08 +08:00
parent 8fc984a84c
commit c52eadf669

View File

@@ -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")))
}