-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
rdbClient, rdbClientMock = redismock.NewClientMock()
// doesn't work
rdbClientMock.ExpectScanType(0, "u:*:f", 1000, "zset").SetVal([]string{fmt.Sprintf("u:%d:f", 1)}, 1)
// doesn't work
rdbClientMock.ExpectScanType(0, "u:*:f", 1000, "zset").SetErr(nil)
redis gives an error:
parameters do not match, expectation '[multi]', but call to cmd '[scan 0 match u:*:f count 1000 type zset]'
Metadata
Metadata
Assignees
Labels
No labels