fix: pool_test.go
This commit is contained in:
parent
90f6cc233c
commit
52f4cb599a
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue