Documentation ¶
Overview ¶
Package matchers contains additional Gomega matchers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeAnEmptyDirectory ¶
func BeAnEmptyDirectory() types.GomegaMatcher
BeAnEmptyDirectory succeeds if a file exists and is a directory that does not contain any file. Actual must be a string representing the absolute path to the directory being checked.
func ContainDirectories ¶
func ContainDirectories(dirs ...string) types.GomegaMatcher
ContainDirectories succeeds if a directory exists and contains sub-directories with the provided names. Actual must be a string representing the absolute path to the directory containing these sub-directories.
func ContainFiles ¶
func ContainFiles(files ...string) types.GomegaMatcher
ContainFiles succeeds if a directory exists and contains files with the provided names. Actual must be a string representing the absolute path to the directory containing these files.
Types ¶
This section is empty.