mock: fix doc comment for NotBefore

pull/1651/head
Oleksandr Redko 2024-10-04 18:06:40 +03:00
parent 7f489726a5
commit ba3e7c34d5
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 {