Skip to content

Commit

Permalink
Fix typo: preceeded -> preceded
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin Cherkasov committed May 4, 2016
1 parent 48c9314 commit e9777bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mock/mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e9777bf

Please sign in to comment.