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
// cleanuper is used to check if TestHelper also has the `Cleanup` method. A// common pattern is to pass in a `*testing.T` to// `NewController(t TestReporter)`. In Go 1.14+, `*testing.T` has a cleanup// method. This can be utilized to call `Finish()` so the caller of this library// does not have to.typecleanuperinterface {
Cleanup(func())
}
I am using rapid with gomock and found some errors in my tests when I noticed that Finish was not being called on the mock controller after each Check
The text was updated successfully, but these errors were encountered:
From gomock:
I am using rapid with gomock and found some errors in my tests when I noticed that
Finish
was not being called on the mock controller after each CheckThe text was updated successfully, but these errors were encountered: