MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / TestSet

Function TestSet

pkg/cache/driver_test.go:8–12  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

6)
7
8func TestSet(t *testing.T) {
9 asserts := assert.New(t)
10
11 asserts.NoError(Set("123", "321", -1))
12}
13
14func TestGet(t *testing.T) {
15 asserts := assert.New(t)

Callers

nothing calls this directly

Calls 2

SetFunction · 0.85
NewMethod · 0.65

Tested by

no test coverage detected