Fix typo: preceeded -> preceded

This commit is contained in:
Konstantin Cherkasov 2016-05-04 10:20:41 +03:00
parent 48c93141f0
commit e9777bfbf1

View File

@ -265,7 +265,7 @@ func callString(method string, arguments Arguments, includeArgumentValues bool)
}
// Called tells the mock object that a method has been called, and gets an array
// of arguments to return. Panics if the call is unexpected (i.e. not preceeded by
// of arguments to return. Panics if the call is unexpected (i.e. not preceded by
// appropriate .On .Return() calls)
// If Call.WaitFor is set, blocks until the channel is closed or receives a message.
func (m *Mock) Called(arguments ...interface{}) Arguments {