MCPcopy Create free account
hub / github.com/chain/Core / TestAddPrefixkv0

Function TestAddPrefixkv0

log/log_test.go:58–64  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

56}
57
58func TestAddPrefixkv0(t *testing.T) {
59 got := prefix(context.Background())
60 var want []byte = nil
61 if !reflect.DeepEqual(got, want) {
62 t.Errorf(`prefix(context.Background()) = %#v want %#v`, got, want)
63 }
64}
65
66func TestAddPrefixkv1(t *testing.T) {
67 ctx := context.Background()

Callers

nothing calls this directly

Calls 1

prefixFunction · 0.85

Tested by

no test coverage detected