testassert

package
v0.0.0-...-039c567 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorMessage

func ErrorMessage(t *testing.T, expected string, actual error)

func False

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

func NoError

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

func NoPanic

func NoPanic(t *testing.T, f func())

func Panics

func Panics(t *testing.T, f func())

func Same

func Same[E comparable](t *testing.T, expected E, actual E)

func True

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

Types

type PanicAssertion

type PanicAssertion func(t *testing.T, f func())

Jump to

Keyboard shortcuts

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