testmatchers

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeAnExistingFileAndEqualString

func BeAnExistingFileAndEqualString(expectedStringContent string) types.GomegaMatcher

func BeAnExistingFileWithEqualContent

func BeAnExistingFileWithEqualContent(equallySourceFilePath string) types.GomegaMatcher

Types

type BeAnExistingFileAndEqualStringMatcher

type BeAnExistingFileAndEqualStringMatcher struct {
	ExpectedStringContent string
	// contains filtered or unexported fields
}

func (*BeAnExistingFileAndEqualStringMatcher) FailureMessage

func (c *BeAnExistingFileAndEqualStringMatcher) FailureMessage(actual interface{}) (message string)

func (*BeAnExistingFileAndEqualStringMatcher) Match

func (c *BeAnExistingFileAndEqualStringMatcher) Match(actual interface{}) (success bool, err error)

func (*BeAnExistingFileAndEqualStringMatcher) NegatedFailureMessage

func (c *BeAnExistingFileAndEqualStringMatcher) NegatedFailureMessage(actual interface{}) (message string)

type BeAnExistingFileWithEqualFileContentMatcher

type BeAnExistingFileWithEqualFileContentMatcher struct {
	EquallySourceFilePath string
	// contains filtered or unexported fields
}

func (*BeAnExistingFileWithEqualFileContentMatcher) FailureMessage

func (c *BeAnExistingFileWithEqualFileContentMatcher) FailureMessage(actual interface{}) (message string)

func (*BeAnExistingFileWithEqualFileContentMatcher) Match

func (c *BeAnExistingFileWithEqualFileContentMatcher) Match(actual interface{}) (success bool, err error)

func (*BeAnExistingFileWithEqualFileContentMatcher) NegatedFailureMessage

func (c *BeAnExistingFileWithEqualFileContentMatcher) NegatedFailureMessage(actual interface{}) (message string)

Jump to

Keyboard shortcuts

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