assert

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepEqual

func DeepEqual[T any](t *testing.T, value, expected T)

func Equal

func Equal[T comparable](t *testing.T, value, expected T)

func Error

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

func ErrorContains

func ErrorContains(t *testing.T, err error, expected string)

func False added in v0.4.0

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

func Nil

func Nil(t *testing.T, value any)

func NoError

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

func NotEqual

func NotEqual[T comparable](t *testing.T, value, expected T)

func NotNil

func NotNil(t *testing.T, value any)

func StringContains

func StringContains(t *testing.T, value, expected string)

func True added in v0.4.0

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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