assert

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Eq

func Eq[T comparable](t testing.TB, expected, actual T, skips ...int) bool

func EqS

func EqS[T comparable](t testing.TB, expected, actual []T) (ok bool)

func Error

func Error(t testing.TB, err error) bool

func ErrorIs

func ErrorIs[T comparable](t testing.TB, expected T, err error) bool

func False

func False(t testing.TB, actual bool) bool

func NoError

func NoError(t testing.TB, err error) bool

func True

func True(t testing.TB, actual bool) bool

func Type

func Type(t testing.TB, expected, actual any) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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