Skip to content

Commit

Permalink
Deprecate EqualExportedValues
Browse files Browse the repository at this point in the history
  • Loading branch information
HaraldNordgren committed Oct 16, 2023
1 parent 4ae48e9 commit 7b9cf09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assert/assertions.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ func copyExportedFields(expected interface{}) interface{} {
// structures.
//
// This function does no assertion of any kind.
//
// Deprecated: Use EqualExportedValues instead
func ObjectsExportedFieldsAreEqual(expected, actual interface{}) bool {
expectedCleaned := copyExportedFields(expected)
actualCleaned := copyExportedFields(actual)
Expand Down

0 comments on commit 7b9cf09

Please sign in to comment.