Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeADirectoryFs ¶ added in v0.9.0
func BeADirectoryFs(fs vfs.VFS) types.GomegaMatcher
BeADirectoryFs succeeds if a file exists and is a directory. Actual must be a string representing the abs path to the file being checked.
func BeASymlink ¶ added in v0.9.0
func BeASymlink(fs vfs.VFS) types.GomegaMatcher
BeASymlink succeeds if a file exists and is a directory. Actual must be a string representing the abs path to the file being checked.
Types ¶
type BeADirMatcher ¶ added in v0.9.0
func (*BeADirMatcher) FailureMessage ¶ added in v0.9.0
func (matcher *BeADirMatcher) FailureMessage(actual interface{}) (message string)
func (*BeADirMatcher) Match ¶ added in v0.9.0
func (matcher *BeADirMatcher) Match(actual interface{}) (success bool, err error)
func (*BeADirMatcher) NegatedFailureMessage ¶ added in v0.9.0
func (matcher *BeADirMatcher) NegatedFailureMessage(actual interface{}) (message string)
type BeASymlinkMatcher ¶ added in v0.9.0
func (*BeASymlinkMatcher) FailureMessage ¶ added in v0.9.0
func (matcher *BeASymlinkMatcher) FailureMessage(actual interface{}) (message string)
func (*BeASymlinkMatcher) Match ¶ added in v0.9.0
func (matcher *BeASymlinkMatcher) Match(actual interface{}) (success bool, err error)
func (*BeASymlinkMatcher) NegatedFailureMessage ¶ added in v0.9.0
func (matcher *BeASymlinkMatcher) NegatedFailureMessage(actual interface{}) (message string)
type Teardown ¶
type Teardown func()
func CombineInto ¶
CombineInto returns one Teardown function, which applies tds in order
func (Teardown) CombineInto ¶
CombineInto returns one Teardown function, which applies {first: Teardown} first and then {other []Teardown} in order remarks: note that {first: Teardown} does not get updated!
Click to show internal directories.
Click to hide internal directories.