assert

package
v0.0.0-...-0ff5b8e Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains[T comparable](t *testing.T, slice []T, want T)

Contains fails the test if slice does not contain want.

func Eq

func Eq[T comparable](t *testing.T, got, want T)

Eq fails the test if got != want.

func Ok

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

Ok fails the test if err is not nil.

Types

This section is empty.

Source Files

  • assert.go

Jump to

Keyboard shortcuts

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