assert

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal[T comparable](t *testing.T, want, have T, message ...any)

func Error

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

func GreaterOrEqual

func GreaterOrEqual[T cmp.Ordered](t *testing.T, want, have T, message ...any)

func Len

func Len[T any](t *testing.T, want int, have []T, message ...any)

func LessOrEqual

func LessOrEqual[T cmp.Ordered](t *testing.T, want, have T, message ...any)

func Nil

func Nil[T any](t *testing.T, item *T, message ...any)

func NotError

func NotError(t *testing.T, err error, message ...any)

func NotNil

func NotNil[T any](t *testing.T, item *T, message ...any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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