test

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Require

func Require(tb testing.TB, condition bool, v ...interface{})

Require fails the test if the condition is false.

func RequireEqual added in v0.9.5

func RequireEqual[T comparable](tb testing.TB, val, want T, a ...any)

RequireEqual fails the test if the values aren't equal

func Requiref

func Requiref(tb testing.TB, condition bool, format string, v ...interface{})

Requiref fails the test if the condition is false.

Types

This section is empty.

Jump to

Keyboard shortcuts

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