cases

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error added in v0.0.3

func Error(t *testing.T, err error)

func NoError

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

Types

type ErrorCheck

type ErrorCheck func(*testing.T, error)

func ErrorAs

func ErrorAs(target error) ErrorCheck

func ErrorIs

func ErrorIs(target error) ErrorCheck

func ErrorMsg added in v0.0.3

func ErrorMsg(target string) ErrorCheck

func ErrorNoDiff added in v0.0.3

func ErrorNoDiff(target error, cmpOpts ...cmp.Option) ErrorCheck

Jump to

Keyboard shortcuts

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