asserttest

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package asserttest provides utilities to test assertions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReportAuto added in v0.9.0

func ReportAuto(tb testing.TB) assert.Option

ReportAuto returns an assert.Option that checks the message automatically and that the assert.ReportFunc is called.

func ReportPrefix added in v0.9.0

func ReportPrefix(tb testing.TB, expectedMsgPrefix string) assert.Option

ReportPrefix returns an assert.Option that checks the message prefix and that the assert.ReportFunc is called.

Types

This section is empty.

Jump to

Keyboard shortcuts

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