File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -408,6 +408,34 @@ func (m *mock) ExpectWatch(keys ...string) *ExpectedError {
408
408
return e
409
409
}
410
410
411
+ func (m * mock ) ExpectIntSliceDo (args ... interface {}) * ExpectedIntSlice {
412
+ e := & ExpectedIntSlice {}
413
+ e .cmd = redis .NewCmd (m .ctx , args )
414
+ m .pushExpect (e )
415
+ return e
416
+ }
417
+
418
+ func (m * mock ) ExpectIntDo (args ... interface {}) * ExpectedInt {
419
+ e := & ExpectedInt {}
420
+ e .cmd = redis .NewCmd (m .ctx , args )
421
+ m .pushExpect (e )
422
+ return e
423
+ }
424
+
425
+ func (m * mock ) ExpectStringDo (args ... interface {}) * ExpectedString {
426
+ e := & ExpectedString {}
427
+ e .cmd = redis .NewCmd (m .ctx , args )
428
+ m .pushExpect (e )
429
+ return e
430
+ }
431
+
432
+ func (m * mock ) ExpectStringSliceDo (args ... interface {}) * ExpectedStringSlice {
433
+ e := & ExpectedStringSlice {}
434
+ e .cmd = redis .NewCmd (m .ctx , args )
435
+ m .pushExpect (e )
436
+ return e
437
+ }
438
+
411
439
func (m * mock ) ExpectCommand () * ExpectedCommandsInfo {
412
440
e := & ExpectedCommandsInfo {}
413
441
e .cmd = m .factory .Command (m .ctx )
You can’t perform that action at this time.
0 commit comments