File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -447,7 +447,34 @@ func (m *mock) ExpectDo(args ...interface{}) *ExpectedCmd {
447447 default :
448448 panic ("ExpectDo: unsupported client type" )
449449 }
450+ m .pushExpect (e )
451+ return e
452+ }
453+
454+ func (m * mock ) ExpectIntSliceDo (args ... interface {}) * ExpectedIntSlice {
455+ e := & ExpectedIntSlice {}
456+ e .cmd = redis .NewCmd (m .ctx , args )
457+ m .pushExpect (e )
458+ return e
459+ }
450460
461+ func (m * mock ) ExpectIntDo (args ... interface {}) * ExpectedInt {
462+ e := & ExpectedInt {}
463+ e .cmd = redis .NewCmd (m .ctx , args )
464+ m .pushExpect (e )
465+ return e
466+ }
467+
468+ func (m * mock ) ExpectStringDo (args ... interface {}) * ExpectedString {
469+ e := & ExpectedString {}
470+ e .cmd = redis .NewCmd (m .ctx , args )
471+ m .pushExpect (e )
472+ return e
473+ }
474+
475+ func (m * mock ) ExpectStringSliceDo (args ... interface {}) * ExpectedStringSlice {
476+ e := & ExpectedStringSlice {}
477+ e .cmd = redis .NewCmd (m .ctx , args )
451478 m .pushExpect (e )
452479 return e
453480}
You can’t perform that action at this time.
0 commit comments