Documentation ¶
Index ¶
- func AssertBulkReply(t *testing.T, actual redis.Reply, expected string)
- func AssertErrReply(t *testing.T, actual redis.Reply, expected string)
- func AssertIntReply(t *testing.T, actual redis.Reply, expected int)
- func AssertIntReplyGreaterThan(t *testing.T, actual redis.Reply, expected int)
- func AssertMultiBulkReply(t *testing.T, actual redis.Reply, expected []string)
- func AssertMultiBulkReplySize(t *testing.T, actual redis.Reply, expected int)
- func AssertNotError(t *testing.T, result redis.Reply)
- func AssertNullBulk(t *testing.T, result redis.Reply)
- func AssertStatusReply(t *testing.T, actual redis.Reply, expected string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertBulkReply ¶
AssertBulkReply checks if the given redis.Reply is the expected string
func AssertErrReply ¶
AssertErrReply checks if the given redis.Reply is the expected error
func AssertIntReply ¶
AssertIntReply checks if the given redis.Reply is the expected integer
func AssertMultiBulkReply ¶
AssertMultiBulkReply checks if the given redis.Reply has the expected content
func AssertMultiBulkReplySize ¶
AssertMultiBulkReplySize check if redis.Reply has expected length
func AssertNotError ¶
AssertNotError checks if the given redis.Reply is not error protocol
func AssertNullBulk ¶
AssertNullBulk checks if the given redis.Reply is protocol.NullBulkReply
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.