MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / TestKVIPList_ReadMaxVersion

Function TestKVIPList_ReadMaxVersion

internal/iplibrary/ip_list_kv_test.go:151–163  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

149}
150
151func TestKVIPList_ReadMaxVersion(t *testing.T) {
152 kv, err := iplibrary.NewKVIPList()
153 if err != nil {
154 t.Fatal(err)
155 }
156
157 maxVersion, err := kv.ReadMaxVersion()
158 if err != nil {
159 t.Fatal(err)
160 }
161
162 t.Log("version:", maxVersion)
163}
164
165func TestKVIPList_ReadItems(t *testing.T) {
166 kv, err := iplibrary.NewKVIPList()

Callers

nothing calls this directly

Calls 3

ReadMaxVersionMethod · 0.95
NewKVIPListFunction · 0.92
LogMethod · 0.80

Tested by

no test coverage detected