error

package
v0.0.0-...-bcc519c Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertErrorMessage

func AssertErrorMessage(t *testing.T, err error, wantMsg string, opts ...assertOptions)

AssertErrorMessage asserts that err.Error() is equal to wantMsg.

func AssertOneOfErrorMessages

func AssertOneOfErrorMessages(t *testing.T, err error, wantMsgs []string)

AssertOneOfErrorMessages asserts that err.Error() is in wantMsgs.

func TrimWhitespace

func TrimWhitespace() assertOptions

Types

This section is empty.

Jump to

Keyboard shortcuts

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