(t *testing.T, c *Client)
| 161 | } |
| 162 | |
| 163 | func 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 | |
| 171 | func testWithClient(t *testing.T, c *Client) { |
| 172 | checkErr := func(err error, format string, args ...interface{}) { |
no test coverage detected
searching dependent graphs…