Merge pull request #1651 from alexandear/mock-fix-not-before-comment

mock: fix doc comment for NotBefore
pull/1421/head^2
Bracken 2024-10-04 16:15:03 +01:00 committed by GitHub
commit 50d5b7e695
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ func (c *Call) Unset() *Call {
// calls have been called as expected. The referenced calls may be from the
// same mock instance and/or other mock instances.
//
// Mock.On("Do").Return(nil).Notbefore(
// Mock.On("Do").Return(nil).NotBefore(
// Mock.On("Init").Return(nil)
// )
func (c *Call) NotBefore(calls ...*Call) *Call {