matchers

package
v1.0.17 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BeAFileWithSubstringMatcher

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

func BeAFileWithSubstring

func BeAFileWithSubstring(expectedSubstring string) *BeAFileWithSubstringMatcher

func (*BeAFileWithSubstringMatcher) FailureMessage

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

func (*BeAFileWithSubstringMatcher) Match

func (matcher *BeAFileWithSubstringMatcher) Match(actual interface{}) (success bool, err error)

func (*BeAFileWithSubstringMatcher) NegatedFailureMessage

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

Jump to

Keyboard shortcuts

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