Documentation
¶
Index ¶
- func Contains(t *testing.T, values any, value any)
- func Equal(t *testing.T, expected, actual any)
- func EqualElements[T comparable](t *testing.T, expected, actual []T)
- func Error(t *testing.T, err error)
- func False(t *testing.T, check bool)
- func Gzip(contents []byte) []byte
- func NoError(t *testing.T, err error)
- func NotEmpty(t *testing.T, value string)
- func Server(t *testing.T, routes map[string]any, urlMapper ...func(string) string) string
- func SetAndRestore[T any](t *testing.T, ptrToVar *T, newValue T)
- func Tar(files map[string][]byte) []byte
- func Test(t *testing.T)
- func True(t *testing.T, check bool)
- func Zip(files map[string][]byte) []byte
- type ValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualElements ¶
func EqualElements[T comparable](t *testing.T, expected, actual []T)
func SetAndRestore ¶ added in v0.1.0
Types ¶
Click to show internal directories.
Click to hide internal directories.