(t *testing.T)
| 110 | } |
| 111 | |
| 112 | func TestKVIPList_DeleteExpiredItems(t *testing.T) { |
| 113 | kv, err := iplibrary.NewKVIPList() |
| 114 | if err != nil { |
| 115 | t.Fatal(err) |
| 116 | } |
| 117 | |
| 118 | defer func() { |
| 119 | _ = kv.Flush() |
| 120 | }() |
| 121 | |
| 122 | err = kv.DeleteExpiredItems() |
| 123 | if err != nil { |
| 124 | t.Fatal(err) |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | func TestKVIPList_UpdateMaxVersion(t *testing.T) { |
| 129 | kv, err := iplibrary.NewKVIPList() |
nothing calls this directly
no test coverage detected