require2

package
v0.15.3 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: MIT Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepEqual

func DeepEqual[T any](t *testing.T, a T, b T)

func ElementsMatch

func ElementsMatch[T comparable](t *testing.T, a []T, b []T)

func Equal

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

func Equalf

func Equalf[T comparable](t *testing.T, expected T, actual T, s string, fmtArgs ...any)

func Error

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

func ErrorIs

func ErrorIs(t *testing.T, err error, match error)

func Greater

func Greater[T constraints.Ordered](t *testing.T, a T, b T)

func GreaterOrEqual

func GreaterOrEqual[T constraints.Ordered](t *testing.T, a T, b T)

func InDelta

func InDelta[T ~float32 | ~float64](t *testing.T, actual T, expected T, delta T)

func Less

func Less[T constraints.Ordered](t *testing.T, a T, b T)

func LessOrEqual

func LessOrEqual[T constraints.Ordered](t *testing.T, a T, b T)

func Nil

func Nil[T any](t *testing.T, a *T)

func NoError

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

func NotNil

func NotNil[T any](t *testing.T, a *T)

func NotNilf

func NotNilf[T any](t *testing.T, a *T, f string, fmtArgs ...any)

func SlicesEqual

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

func True

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

func Truef

func Truef(t *testing.T, b bool, s string, fmtArgs ...any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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