From 0c49dd9bb7111ec078778b3b39ff8a572bd57ae9 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Fri, 8 Sep 2017 22:13:42 -0600 Subject: [PATCH] Replace is with in Minor doc typo. --- assert/assertion_format.go | 2 +- assert/assertion_forward.go | 4 ++-- assert/assertions.go | 2 +- require/require.go | 4 ++-- require/require_forward.go | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/assert/assertion_format.go b/assert/assertion_format.go index b50d091..9e29b3b 100644 --- a/assert/assertion_format.go +++ b/assert/assertion_format.go @@ -84,7 +84,7 @@ func Errorf(t TestingT, err error, msg string, args ...interface{}) bool { return Error(t, err, append([]interface{}{msg}, args...)...) } -// Exactlyf asserts that two objects are equal is value and type. +// Exactlyf asserts that two objects are equal in value and type. // // assert.Exactlyf(t, int32(123, "error message %s", "formatted"), int64(123)) // diff --git a/assert/assertion_forward.go b/assert/assertion_forward.go index e230846..d173878 100644 --- a/assert/assertion_forward.go +++ b/assert/assertion_forward.go @@ -157,7 +157,7 @@ func (a *Assertions) Errorf(err error, msg string, args ...interface{}) bool { return Errorf(a.t, err, msg, args...) } -// Exactly asserts that two objects are equal is value and type. +// Exactly asserts that two objects are equal in value and type. // // a.Exactly(int32(123), int64(123)) // @@ -166,7 +166,7 @@ func (a *Assertions) Exactly(expected interface{}, actual interface{}, msgAndArg return Exactly(a.t, expected, actual, msgAndArgs...) } -// Exactlyf asserts that two objects are equal is value and type. +// Exactlyf asserts that two objects are equal in value and type. // // a.Exactlyf(int32(123, "error message %s", "formatted"), int64(123)) // diff --git a/assert/assertions.go b/assert/assertions.go index 86e4c27..209ff84 100644 --- a/assert/assertions.go +++ b/assert/assertions.go @@ -357,7 +357,7 @@ func EqualValues(t TestingT, expected, actual interface{}, msgAndArgs ...interfa } -// Exactly asserts that two objects are equal is value and type. +// Exactly asserts that two objects are equal in value and type. // // assert.Exactly(t, int32(123), int64(123)) // diff --git a/require/require.go b/require/require.go index 830a453..51baa17 100644 --- a/require/require.go +++ b/require/require.go @@ -186,7 +186,7 @@ func Errorf(t TestingT, err error, msg string, args ...interface{}) { } } -// Exactly asserts that two objects are equal is value and type. +// Exactly asserts that two objects are equal in value and type. // // assert.Exactly(t, int32(123), int64(123)) // @@ -197,7 +197,7 @@ func Exactly(t TestingT, expected interface{}, actual interface{}, msgAndArgs .. } } -// Exactlyf asserts that two objects are equal is value and type. +// Exactlyf asserts that two objects are equal in value and type. // // assert.Exactlyf(t, int32(123, "error message %s", "formatted"), int64(123)) // diff --git a/require/require_forward.go b/require/require_forward.go index 3e0b5b9..0036d6e 100644 --- a/require/require_forward.go +++ b/require/require_forward.go @@ -158,7 +158,7 @@ func (a *Assertions) Errorf(err error, msg string, args ...interface{}) { Errorf(a.t, err, msg, args...) } -// Exactly asserts that two objects are equal is value and type. +// Exactly asserts that two objects are equal in value and type. // // a.Exactly(int32(123), int64(123)) // @@ -167,7 +167,7 @@ func (a *Assertions) Exactly(expected interface{}, actual interface{}, msgAndArg Exactly(a.t, expected, actual, msgAndArgs...) } -// Exactlyf asserts that two objects are equal is value and type. +// Exactlyf asserts that two objects are equal in value and type. // // a.Exactlyf(int32(123, "error message %s", "formatted"), int64(123)) //