mirror of
https://github.com/stretchr/testify.git
synced 2025-05-30 19:22:30 +00:00
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:
parent
55d8b5740c
commit
2aadfe8adc
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user