gomega

package
v1.13.4 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffEq added in v0.5.0

func DiffEq(x interface{}) types.GomegaMatcher

DiffEq will verify cmp.Diff(expected, actual) == "" using github.com/google/go-cmp/cmp.

Types

type LogMatcher

type LogMatcher interface {
	types.GomegaMatcher
	WithLevel(int) LogMatcher
	WithLogFunc(string) LogMatcher
}

LogMatcher is a Gomega matcher for logs.

func LogContains

func LogContains(values ...interface{}) LogMatcher

LogContains verifies that LogEntry matches the specified values.

Jump to

Keyboard shortcuts

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