assert

package
v2.41.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal[T comparable](t *testing.T, got T, wanted T)

func EqualJSON

func EqualJSON(t *testing.T, got []byte, want string)

func EqualMarshalJSON

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

func ErrorEqual

func ErrorEqual(t *testing.T, got error, err error)

func ErrorNil

func ErrorNil(t *testing.T, got error)

func ErrorType

func ErrorType(t *testing.T, got error, want error)

func False

func False(t *testing.T, value bool)

func OK

func OK(t *testing.T, err error)

func True

func True(t *testing.T, value bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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