mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-04 21:50:26 +08:00
12 lines
258 B
Go
12 lines
258 B
Go
|
|
// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
|
||
|
|
|
||
|
|
package configutils
|
||
|
|
|
||
|
|
import "testing"
|
||
|
|
|
||
|
|
func TestParseCIDR(t *testing.T) {
|
||
|
|
t.Log(ParseCIDR("192.168.1.1/32"))
|
||
|
|
t.Log(ParseCIDR("192.168.1.1/24"))
|
||
|
|
t.Log(ParseCIDR("192.168.1.1/16"))
|
||
|
|
}
|