matchers

package
v0.9.2-93-g767729ca Latest Latest
Warning

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

Go to latest
Published: Oct 14, 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