MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / must0

Function must0

IceFireDB-PubSub/test/test_test.go:109–112  ·  view source on GitHub ↗

must0 is a mustDo() which expects a `0` response

(tb testing.TB, c *proto.Client, args ...string)

Source from the content-addressed store, hash-verified

107
108// must0 is a mustDo() which expects a `0` response
109func must0(tb testing.TB, c *proto.Client, args ...string) {
110 tb.Helper()
111 mustDo(tb, c, append(args, proto.Int(0))...)
112}
113
114// must1 is a mustDo() which expects a `1` response
115func must1(tb testing.TB, c *proto.Client, args ...string) {

Callers 15

TestSismemberFunction · 0.70
TestSremFunction · 0.70
TestSortedSetFunction · 0.70
TestSortedSetAddFunction · 0.70
TestSortedSetRemFunction · 0.70
TestSortedSetRangeByLexFunction · 0.70
TestLpushxFunction · 0.70
TestLpopFunction · 0.70
TestRpopFunction · 0.70

Calls 2

IntFunction · 0.92
mustDoFunction · 0.70

Tested by

no test coverage detected