matchers

package
v0.0.0-...-8914292 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeEquivalentToUsingEqualMethod

func BeEquivalentToUsingEqualMethod(expected any) types.GomegaMatcher

func BeNonMutableSet

func BeNonMutableSet[T comparable]() types.GomegaMatcher

func Contain

func Contain[T comparable](elem T) types.GomegaMatcher

func ContainAtLeast

func ContainAtLeast[T comparable](first T, others ...T) types.GomegaMatcher

func ForEachToSlice

func ForEachToSlice[T comparable](s set.Set[T]) []T

func HaveForEachThatConsistsOf

func HaveForEachThatConsistsOf[T comparable](first any, others ...any) types.GomegaMatcher

func HaveForEachThatConsistsOfElementsInSlice

func HaveForEachThatConsistsOfElementsInSlice[T comparable](elements []T) types.GomegaMatcher

func HaveForEachThatEmitsNothing

func HaveForEachThatEmitsNothing[T comparable]() types.GomegaMatcher

func HaveLenOf

func HaveLenOf(length int) types.GomegaMatcher

func HaveLenOfZero

func HaveLenOfZero() types.GomegaMatcher

func HaveStringRepr

func HaveStringRepr(value string) types.GomegaMatcher

func HaveStringReprThatIsAnyOf

func HaveStringReprThatIsAnyOf(elems ...any) types.GomegaMatcher

Types

This section is empty.

Jump to

Keyboard shortcuts

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