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

Function mustNil

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

mustNil is a mustDo() which expects a nil response

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

Source from the content-addressed store, hash-verified

95
96// mustNil is a mustDo() which expects a nil response
97func mustNil(tb testing.TB, c *proto.Client, args ...string) {
98 tb.Helper()
99 mustDo(tb, c, append(args, proto.Nil)...)
100}
101
102// mustNilList is a mustDo() which expects a list nil (-1) response
103func mustNilList(tb testing.TB, c *proto.Client, args ...string) {

Callers 12

TestSpopFunction · 0.70
TestSrandmemberFunction · 0.70
TestSortedSetFunction · 0.70
TestSortedSetAddFunction · 0.70
TestSortedSetScoreFunction · 0.70
TestLpopFunction · 0.70
TestRpopFunction · 0.70
TestLindexFunction · 0.70
TestStringFunction · 0.70
TestSetFunction · 0.70
TestGetSetFunction · 0.70
TestHashFunction · 0.70

Calls 1

mustDoFunction · 0.70

Tested by

no test coverage detected