Grammatical change in documentation for Run()

There was a switch between singular and plural which made this line a
little bit hard to parse.
This commit is contained in:
Olaf Alders 2020-02-18 13:48:01 -05:00 committed by Boyan Soubachov
parent 55d8b5740c
commit 2aadfe8adc

View File

@ -147,7 +147,7 @@ func (c *Call) After(d time.Duration) *Call {
}
// Run sets a handler to be called before returning. It can be used when
// mocking a method such as unmarshalers that takes a pointer to a struct and
// mocking a method (such as an unmarshaler) that takes a pointer to a struct and
// sets properties in such struct
//
// Mock.On("Unmarshal", AnythingOfType("*map[string]interface{}").Return().Run(func(args Arguments) {