Documentation ¶
Overview ¶
testutil package is a utility for testing. This package is inspired by morikuni/failure testutil_test.go
Index ¶
- func Equal(t testing.TB, want, got any, msg ...any)
- func Equalf(t testing.TB, want, got any, format string, msg ...any)
- func MustEqual(t testing.TB, want, got any, msg ...any)
- func MustEqualf(t testing.TB, want, got any, format string, msg ...any)
- func MustNoError(t testing.TB, err error)
- func NewHereDoc(s string) string
- func NewHereDocf(s string, args ...interface{}) string
- func NoError(t testing.TB, err error)
- func Setenv(t testing.TB, key, value string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustEqualf ¶ added in v0.3.0
func MustNoError ¶ added in v0.3.0
func NewHereDoc ¶
func NewHereDocf ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.