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

Function mustOK

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

mustOK is a mustDo() which expects an "OK" response

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

Source from the content-addressed store, hash-verified

89
90// mustOK is a mustDo() which expects an "OK" response
91func mustOK(tb testing.TB, c *proto.Client, args ...string) {
92 tb.Helper()
93 mustDo(tb, c, append(args, proto.Inline("OK"))...)
94}
95
96// mustNil is a mustDo() which expects a nil response
97func mustNil(tb testing.TB, c *proto.Client, args ...string) {

Callers 15

TestSaddFunction · 0.70
TestSismemberFunction · 0.70
TestSremFunction · 0.70
TestSortedSetFunction · 0.70
TestSortedSetAddFunction · 0.70
TestLpushFunction · 0.70
TestLpushxFunction · 0.70
TestLpopFunction · 0.70
TestRPushPopFunction · 0.70
TestLindexFunction · 0.70
TestLlenFunction · 0.70
TestLtrimFunction · 0.70

Calls 2

InlineFunction · 0.92
mustDoFunction · 0.70

Tested by

no test coverage detected