MCPcopy Create free account
hub / github.com/distributedio/titan / clearList

Function clearList

command/lists_test.go:22–27  ·  view source on GitHub ↗
(t *testing.T, key string)

Source from the content-addressed store, hash-verified

20}
21
22func 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
29func rpushList(t *testing.T, key, val string) []string {
30 ctx := ContextTest("rpush", key, val)

Callers 15

TestLLenFunction · 0.85
TestLIndexFunction · 0.85
TestLInsertFunction · 0.85
TestLPushFunction · 0.85
TestLPushxFunction · 0.85
TestLRangeFunction · 0.85
TestLSetFunction · 0.85
TestRPushFunction · 0.85
TestRPushxFunction · 0.85
TestHExistsFunction · 0.85
TestHIncrByFunction · 0.85
TestHIncrByFloatFunction · 0.85

Calls 3

ContextTestFunction · 0.85
CallFunction · 0.85
ctxLinesFunction · 0.85

Tested by

no test coverage detected