Skip to content

Commit 3c0c0e6

Browse files
authored
Merge pull request #1593 from brackendawson/EqualValuesDoc
Correctly document EqualValues behavior
2 parents 8d4dcbb + 3276608 commit 3c0c0e6

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

assert/assertion_format.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assert/assertion_forward.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assert/assertions.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,8 +576,8 @@ func truncatingFormat(data interface{}) string {
576576
return value
577577
}
578578

579-
// EqualValues asserts that two objects are equal or convertible to the same types
580-
// and equal.
579+
// EqualValues asserts that two objects are equal or convertible to the larger
580+
// type and equal.
581581
//
582582
// assert.EqualValues(t, uint32(123), int32(123))
583583
func EqualValues(t TestingT, expected, actual interface{}, msgAndArgs ...interface{}) bool {

require/require.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

require/require_forward.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)