fix: pool_test.go

This commit is contained in:
gVisor bot 2022-11-05 13:08:50 +08:00
parent 31f6c66e70
commit 0acb232b65

View file

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