MCPcopy
hub / github.com/bradfitz/gomemcache / mustSetF

Function mustSetF

memcache/memcache_test.go:163–169  ·  view source on GitHub ↗
(t *testing.T, c *Client)

Source from the content-addressed store, hash-verified

161}
162
163func mustSetF(t *testing.T, c *Client) func(*Item) {
164 return func(it *Item) {
165 if err := c.Set(it); err != nil {
166 t.Fatalf("failed to Set %#v: %v", *it, err)
167 }
168 }
169}
170
171func testWithClient(t *testing.T, c *Client) {
172 checkErr := func(err error, format string, args ...interface{}) {

Callers 2

testWithClientFunction · 0.85
testTouchWithClientFunction · 0.85

Calls 1

SetMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…