From e704e18cb5522713179038cf938bc9bc62c81c79 Mon Sep 17 00:00:00 2001 From: Martin Hamrle Date: Thu, 30 Jun 2016 19:23:22 +0200 Subject: [PATCH] fix typos --- assert/assertions.go | 2 +- mock/mock.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assert/assertions.go b/assert/assertions.go index 348d5f1..35d7218 100644 --- a/assert/assertions.go +++ b/assert/assertions.go @@ -65,7 +65,7 @@ func ObjectsAreEqualValues(expected, actual interface{}) bool { /* CallerInfo is necessary because the assert functions use the testing object internally, causing it to print the file:line of the assert method, rather than where -the problem actually occured in calling code.*/ +the problem actually occurred in calling code.*/ // CallerInfo returns an array of strings containing the file and line number // of each stack frame leading from the current test to the assert call that diff --git a/mock/mock.go b/mock/mock.go index cba9009..a1d6e6e 100644 --- a/mock/mock.go +++ b/mock/mock.go @@ -47,7 +47,7 @@ type Call struct { totalCalls int // Holds a channel that will be used to block the Return until it either - // recieves a message or is closed. nil means it returns immediately. + // receives a message or is closed. nil means it returns immediately. WaitFor <-chan time.Time // Holds a handler used to manipulate arguments content that are passed by