matchers

package
v0.7.1-129-g24ba7907 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

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