assert

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(t *testing.T, s interface{}, contains interface{}, msgAndArgs ...interface{}) bool

func Empty

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

func Equal

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

func EqualError

func EqualError(t *testing.T, theError error, errString string, msgAndArgs ...interface{}) bool

func EqualValues

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

func False

func False(t *testing.T, value bool, msgAndArgs ...interface{}) bool

func Nil

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

func NotEmpty

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

func NotEqual

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

func NotNil

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

func True

func True(t *testing.T, value bool, msgAndArgs ...interface{}) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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