fix: pool_test.go

This commit is contained in:
wwqgtxx 2022-11-05 13:08:50 +08:00
parent 90f6cc233c
commit 52f4cb599a

View file

@ -128,8 +128,8 @@ func TestPool_CycleUsed(t *testing.T) {
func TestPool_Skip(t *testing.T) { func TestPool_Skip(t *testing.T) {
ipnet := netip.MustParsePrefix("192.168.0.1/29") ipnet := netip.MustParsePrefix("192.168.0.1/29")
tree := trie.New[bool]() tree := trie.New[struct{}]()
tree.Insert("example.com", true) tree.Insert("example.com", struct{}{})
pools, tempfile, err := createPools(Options{ pools, tempfile, err := createPools(Options{
IPNet: &ipnet, IPNet: &ipnet,
Size: 10, Size: 10,