matcher

package
v0.0.0-...-39865c0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProtoEqual

func ProtoEqual(expected proto.Message) types.GomegaMatcher

Types

type ProtoEqualMatcher

type ProtoEqualMatcher struct {
	Expected proto.Message
}

func (*ProtoEqualMatcher) FailureMessage

func (matcher *ProtoEqualMatcher) FailureMessage(actual interface{}) string

func (*ProtoEqualMatcher) Match

func (matcher *ProtoEqualMatcher) Match(actual interface{}) (bool, error)

func (*ProtoEqualMatcher) NegatedFailureMessage

func (matcher *ProtoEqualMatcher) NegatedFailureMessage(actual interface{}) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL