Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeAnExistingFileFs ¶
func BeAnExistingFileFs(fs interface{}) OmegaMatcher
func ContainExport ¶
func ContainExport(key, value string, args ...interface{}) types.GomegaMatcher
ContainExport succeeds if actual is a string or stringer that contains an export declaration the passed-in key and value. Optional arguments can be provided to construct the substring via fmt.Sprintf().
func HaveSectionHeader ¶
func HaveSectionHeader(title string, args ...interface{}) types.GomegaMatcher
HaveSectionHeader succeeds if actual is a string or stringer that contains a section header with the passed-in key title Optional arguments can be provided to construct the substring via fmt.Sprintf().
Types ¶
type ContainExportMatcher ¶
func (ContainExportMatcher) FailureMessage ¶
func (m ContainExportMatcher) FailureMessage(actual interface{}) (message string)
func (ContainExportMatcher) Match ¶
func (m ContainExportMatcher) Match(actual interface{}) (success bool, err error)
func (ContainExportMatcher) NegatedFailureMessage ¶
func (m ContainExportMatcher) NegatedFailureMessage(actual interface{}) (message string)
type FsBeAnExistingFileMatcher ¶
type FsBeAnExistingFileMatcher struct {
FS interface{}
}
func (*FsBeAnExistingFileMatcher) FailureMessage ¶
func (matcher *FsBeAnExistingFileMatcher) FailureMessage(actual interface{}) (message string)
func (*FsBeAnExistingFileMatcher) Match ¶
func (matcher *FsBeAnExistingFileMatcher) Match(actual interface{}) (success bool, err error)
func (*FsBeAnExistingFileMatcher) NegatedFailureMessage ¶
func (matcher *FsBeAnExistingFileMatcher) NegatedFailureMessage(actual interface{}) (message string)
Click to show internal directories.
Click to hide internal directories.