Skip to content

Commit a7b9609

Browse files
committed
add ExpectDo methods to interface
1 parent b5e4cf5 commit a7b9609

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

expect.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ type baseMock interface {
2727
// MatchExpectationsInOrder gives an option whether to match all expectations in the order they were set or not.
2828
MatchExpectationsInOrder(b bool)
2929

30+
ExpectIntSliceDo(args ...interface{}) *ExpectedIntSlice
31+
ExpectIntDo(args ...interface{}) *ExpectedInt
32+
ExpectStringSliceDo(args ...interface{}) *ExpectedStringSlice
33+
ExpectStringDo(args ...interface{}) *ExpectedString
3034
ExpectCommand() *ExpectedCommandsInfo
3135
ExpectClientGetName() *ExpectedString
3236
ExpectEcho(message interface{}) *ExpectedString

0 commit comments

Comments
 (0)