require

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(t *testing.T, expected any, actual any, msgAndArgs ...any)

Equal is a proxy function for require.Equal.

func EqualError

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

EqualError is a proxy function for require.EqualError.

func Error

func Error(t *testing.T, err error, msgAndArgs ...any)

Error is a proxy function for require.Error.

func ErrorIs

func ErrorIs(t *testing.T, err error, target error, msgAndArgs ...any)

ErrorIs is a proxy function for require.ErrorIs.

func FailNow

func FailNow(t *testing.T, failureMessage string, msgAndArgs ...any)

FailNow is a proxy function for require.FailNow.

func False

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

False is a proxy function for require.False.

func Implements

func Implements(t *testing.T, interfaceObject any, object any, msgAndArgs ...any)

Implements is a proxy function for require.Implements.

func IsType

func IsType(t *testing.T, expectedType any, object any, msgAndArgs ...any)

IsType is a proxy function for require.IsType.

func Len

func Len(t *testing.T, object any, length int, msgAndArgs ...any)

Len is a proxy function for require.Len

func Nil

func Nil(t *testing.T, object any, msgAndArgs ...any)

Nil is a proxy function for require.Nil.

func NoError

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

NoError is a proxy function for require.NoError.

func NotNil

func NotNil(t *testing.T, object any, msgAndArgs ...any)

NotNil is a proxy function for require.NotNil.

func NotPanics

func NotPanics(t *testing.T, fn func(), msgAndArgs ...any)

NotPanics is a proxy function for require.NotPanics.

func NotSame

func NotSame(t *testing.T, expected any, actual any, msgAndArgs ...any)

NotSame is a proxy function for require.NotSame.

func Panics

func Panics(t *testing.T, fn func(), msgAndArgs ...any)

Panics is a proxy function for require.Panics.

func Regexp

func Regexp(t *testing.T, regexp any, str any, msgAndArgs ...any)

Regexp is a proxy function for require.Regexp.

func Same

func Same(t *testing.T, expected any, actual any, msgAndArgs ...any)

Same is a proxy function for require.Same.

func True

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

True is a proxy function for require.True.

Types

This section is empty.

Jump to

Keyboard shortcuts

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