assert

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package assert provides lightweight test assertion helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func That

func That[T any](tb testing.TB, desc string, got, want T)

That marks the test as failed when got and want are not deeply equal. The receiver is named `tb` per the Go thelper convention for testing.TB — unlike `*testing.T`, which conventionally uses `t`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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