assert

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(t *testing.T, expected, actual interface{}) bool

func EqualError

func EqualError(t *testing.T, theError error, errString string) bool

func ErrorContains

func ErrorContains(t *testing.T, theError error, contains string) bool

func False

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

func IsType

func IsType(t *testing.T, expectedType interface{}, object interface{}) bool

func Nil

func Nil(t *testing.T, object interface{}) bool

func NoError

func NoError(t *testing.T, err error) bool

func True

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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