assert

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(tb testing.TB, name string, want, got interface{}, opts ...cmp.Option)

func EqualFixture

func EqualFixture(tb testing.TB, name, filename string, got []byte)

EqualFixture validates that the contents of the given file are the same as the given bytes. If the OVERWRITE environment variable is set to TRUE, the given bytes are written to the file first.

Types

This section is empty.

Jump to

Keyboard shortcuts

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