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

Function TestStore_Default

internal/utils/kvstore/store_test.go:24–32  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

22}
23
24func TestStore_Default(t *testing.T) {
25 var a = assert.NewAssertion(t)
26
27 store, err := kvstore.DefaultStore()
28 if err != nil {
29 t.Fatal(err)
30 }
31 a.IsTrue(store != nil)
32}
33
34func TestStore_Default_Concurrent(t *testing.T) {
35 var lastStore *kvstore.Store

Callers

nothing calls this directly

Calls 1

DefaultStoreFunction · 0.92

Tested by

no test coverage detected