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

Function must1

IceFireDB-Redis-Proxy/test/test_test.go:115–118  ·  view source on GitHub ↗

must1 is a mustDo() which expects a `1` response

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

Source from the content-addressed store, hash-verified

113
114// must1 is a mustDo() which expects a `1` response
115func must1(tb testing.TB, c *proto.Client, args ...string) {
116 tb.Helper()
117 mustDo(tb, c, append(args, proto.Int(1))...)
118}
119
120// execute a Read()
121func mustRead(tb testing.TB, c *proto.Client, want string) {

Callers 15

TestSismemberFunction · 0.70
TestSortedSetAddFunction · 0.70
TestSortedSetRemFunction · 0.70
TestLpushxFunction · 0.70
TestLremFunction · 0.70
TestRpushxFunction · 0.70
TestStringFunction · 0.70
TestSetnxFunction · 0.70
TestIncrFunction · 0.70
TestGetbitFunction · 0.70
TestSetbitFunction · 0.70
TestHashFunction · 0.70

Calls 2

IntFunction · 0.92
mustDoFunction · 0.70

Tested by

no test coverage detected