testutil

package
v0.2.0-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepEqual

func DeepEqual(t Handle, want, actual any)

func Equal

func Equal[T comparable](t Handle, want, actual T)

func Error

func Error(t Handle, err error)

func NoError

func NoError(t Handle, err error)

func NoPanic

func NoPanic(t Handle, f func())

func Panic

func Panic(t Handle, f func())

Types

type Handle

type Handle interface {
	Helper()
	Fatalf(format string, args ...any)
}

Jump to

Keyboard shortcuts

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