assert

package
v0.0.0-...-ae1ba64 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepEqual

func DeepEqual(t *testing.T, got, want any, msgs ...any)

func Equal

func Equal[T comparable](t *testing.T, got, want T, msgs ...any)

func False

func False(t *testing.T, cond bool, msgs ...any)

func Nil

func Nil(t *testing.T, a any, msgs ...any)

func NotNil

func NotNil(t *testing.T, a any, msgs ...any)

func ShouldNotPanic

func ShouldNotPanic(t *testing.T, fn func(), msgs ...any)

func ShouldPanic

func ShouldPanic(t *testing.T, fn func(), msgs ...any)

func True

func True(t *testing.T, cond bool, msgs ...any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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