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