File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -453,28 +453,28 @@ func (m *mock) ExpectDo(args ...interface{}) *ExpectedCmd {
453
453
454
454
func (m * mock ) ExpectIntSliceDo (args ... interface {}) * ExpectedIntSlice {
455
455
e := & ExpectedIntSlice {}
456
- e .cmd = redis .NewCmd (m .ctx , args ... )
456
+ e .cmd = redis .NewIntSliceCmd (m .ctx , args ... )
457
457
m .pushExpect (e )
458
458
return e
459
459
}
460
460
461
461
func (m * mock ) ExpectIntDo (args ... interface {}) * ExpectedInt {
462
462
e := & ExpectedInt {}
463
- e .cmd = redis .NewCmd (m .ctx , args ... )
463
+ e .cmd = redis .NewIntCmd (m .ctx , args ... )
464
464
m .pushExpect (e )
465
465
return e
466
466
}
467
467
468
468
func (m * mock ) ExpectStringDo (args ... interface {}) * ExpectedString {
469
469
e := & ExpectedString {}
470
- e .cmd = redis .NewCmd (m .ctx , args ... )
470
+ e .cmd = redis .NewStringCmd (m .ctx , args ... )
471
471
m .pushExpect (e )
472
472
return e
473
473
}
474
474
475
475
func (m * mock ) ExpectStringSliceDo (args ... interface {}) * ExpectedStringSlice {
476
476
e := & ExpectedStringSlice {}
477
- e .cmd = redis .NewCmd (m .ctx , args ... )
477
+ e .cmd = redis .NewStringSliceCmd (m .ctx , args ... )
478
478
m .pushExpect (e )
479
479
return e
480
480
}
You can’t perform that action at this time.
0 commit comments