assert

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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