(t *testing.T, key string)
| 20 | } |
| 21 | |
| 22 | func clearList(t *testing.T, key string) { |
| 23 | ctx := ContextTest("del", key) |
| 24 | Call(ctx) |
| 25 | lines := ctxLines(ctx.Out) |
| 26 | assert.Equal(t, ":1", lines[0]) |
| 27 | } |
| 28 | |
| 29 | func rpushList(t *testing.T, key, val string) []string { |
| 30 | ctx := ContextTest("rpush", key, val) |
no test coverage detected