internal

package
v0.0.0-...-14d253e Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker[T any] struct {
	Invert bool
}

func (Checker[T]) Equal

func (c Checker[T]) Equal(tb testing.TB, got T, wants []T) bool

func (Checker[T]) Err

func (c Checker[T]) Err(tb testing.TB, got error, wants []any) bool

func (Checker[T]) OfType

func (c Checker[T]) OfType(tb testing.TB, got any) (T, bool)

func (Checker[T]) True

func (c Checker[T]) True(tb testing.TB, got bool) bool

Jump to

Keyboard shortcuts

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