testrequire

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(t *testing.T, s, contains any, msgAndArgs ...any)

Contains fails the test immediately if s does not contain contains.

func NoError

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

NoError fails the test immediately if err is non-nil.

func True

func True(t *testing.T, value bool, msgAndArgs ...any)

True fails the test immediately if value 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