gomock

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffEq

func DiffEq(x interface{}) gomock.Matcher

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

func ErrStrEq

func ErrStrEq(expected string) gomock.Matcher

ErrStrEq will verify the string matches error.Error()

Types

type LogMatcher

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

Jump to

Keyboard shortcuts

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