From 151403aa9bcff6e447aca1ff83229bdca7ec705a Mon Sep 17 00:00:00 2001 From: deadprogram Date: Tue, 24 May 2016 20:25:16 -0700 Subject: [PATCH] [core] Fix typo for godoc Signed-off-by: deadprogram --- gobottest/gobottest.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gobottest/gobottest.go b/gobottest/gobottest.go index 83c8930c..8e339c06 100644 --- a/gobottest/gobottest.go +++ b/gobottest/gobottest.go @@ -18,7 +18,7 @@ func logFailure(t *testing.T, message string) { errFunc(t, fmt.Sprintf("%v:%v: %v", s[len(s)-1], line, message)) } -// Assert checks if a and b are equal, emis a t.Errorf if they are not equal. +// Assert checks if a and b are equal, emits a t.Errorf if they are not equal. func Assert(t *testing.T, a interface{}, b interface{}) { if !reflect.DeepEqual(a, b) { logFailure(t, fmt.Sprintf("%v - \"%v\", should equal, %v - \"%v\"", @@ -26,7 +26,7 @@ func Assert(t *testing.T, a interface{}, b interface{}) { } } -// Refute checks if a and b are equal, emis a t.Errorf if they are equal. +// Refute checks if a and b are equal, emits a t.Errorf if they are equal. func Refute(t *testing.T, a interface{}, b interface{}) { if reflect.DeepEqual(a, b) { logFailure(t, fmt.Sprintf("%v - \"%v\", should not equal, %v - \"%v\"",