matchers

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: Apache-2.0 Imports: 3 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

This section is empty.

Jump to

Keyboard shortcuts

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