testutil

package
v0.0.0-...-ed2b81c Latest Latest
Warning

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

Go to latest
Published: May 2, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertCmp

func AssertCmp(t *testing.T, got interface{}, want interface{}, opts ...cmp.Option)

AssertCmp fails a test with a descriptive diff if got != want, respecting a set of compare options.

func AssertProtoEqual

func AssertProtoEqual(t *testing.T, got interface{}, want interface{})

func ErrSubstring

func ErrSubstring(got error, want string) string

func StaticTimeRFC3339

func StaticTimeRFC3339(timeStr string) time.Time

Types

This section is empty.

Jump to

Keyboard shortcuts

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