matchers

package
v0.0.0-...-a158526 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchEdge

func MatchEdge(expected interface{}) types.GomegaMatcher

func MatchNode

func MatchNode(expected interface{}) types.GomegaMatcher

Types

type EdgeMatcher

type EdgeMatcher struct {
	// contains filtered or unexported fields
}

func (*EdgeMatcher) FailureMessage

func (em *EdgeMatcher) FailureMessage(actual interface{}) (message string)

func (*EdgeMatcher) Match

func (em *EdgeMatcher) Match(actual interface{}) (success bool, err error)

func (*EdgeMatcher) NegatedFailureMessage

func (em *EdgeMatcher) NegatedFailureMessage(actual interface{}) (message string)

type NodeMatcher

type NodeMatcher struct {
	// contains filtered or unexported fields
}

func (*NodeMatcher) FailureMessage

func (nm *NodeMatcher) FailureMessage(actual interface{}) (message string)

func (*NodeMatcher) Match

func (nm *NodeMatcher) Match(actual interface{}) (success bool, err error)

func (*NodeMatcher) NegatedFailureMessage

func (nm *NodeMatcher) NegatedFailureMessage(actual interface{}) (message string)

Jump to

Keyboard shortcuts

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