Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SemanticallyEqual ¶
func SemanticallyEqual(expected any) types.GomegaMatcher
SemanticallyEqual is like reflect.DeepEqual, but focused on semantic equality instead of memory equality. If objects differ a diff will be produced thanks to diff.ObjectDiff for more information about semantically equality please take a look at diff.SemanticallyEqual.
Types ¶
type SemanticallyEqualMatcher ¶
type SemanticallyEqualMatcher struct {
// contains filtered or unexported fields
}
func (*SemanticallyEqualMatcher) FailureMessage ¶
func (matcher *SemanticallyEqualMatcher) FailureMessage(actual any) (message string)
func (*SemanticallyEqualMatcher) Match ¶
func (matcher *SemanticallyEqualMatcher) Match(actual any) (success bool, err error)
func (*SemanticallyEqualMatcher) NegatedFailureMessage ¶
func (matcher *SemanticallyEqualMatcher) NegatedFailureMessage(actual any) (message string)
Click to show internal directories.
Click to hide internal directories.