You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Curious about this as well. It seems like this functionality isn't implemented, looking at the struct here? Or did I just miss something?
The way I'm currently going about it is to always ensure I have the correct number of calls to an expected function, which means sometimes copy/pasting or putting an expectation in a loop, like so:
fori:=0; i<5; i++ {
// this is expected to be called 5 timesredisClientMock.ExpectGet(myRedisKeys.TestKey).SetVal("true")
}
Looking forward to this feature. No requirement to anticipate the expiration time duration since my tested function computes the expired key's duration. Any updates available?
Sometimes, it's not care about the times of call ExpectActions, how to allow it anytimes?
The text was updated successfully, but these errors were encountered: