mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 13:10:24 +08:00 
			
		
		
		
	增加一处测试用例
This commit is contained in:
		@@ -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")))
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user