testutils

package
v0.0.0-...-22a4c2b Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equals

func Equals[V comparable](tb testing.TB, got V, exp V)

func EqualsList

func EqualsList[V comparable](tb testing.TB, got []V, exp []V)

func EqualsMap

func EqualsMap[K comparable, V comparable](tb testing.TB, got map[K]V, exp map[K]V)

func ExpectError

func ExpectError(tb testing.TB, err error, exp string)

func ExpectNil

func ExpectNil(tb testing.TB, d any)

func ExpectNoError

func ExpectNoError(tb testing.TB, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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