Documentation ¶
Overview ¶
Package assert contains helpers for test assertions.
Index ¶
- func Diff(exp, act interface{}, opts ...cmp.Option) string
- func Equal(t testing.TB, name string, exp, act interface{})
- func Error(t testing.TB, name string, err error)
- func False(t testing.TB, name string, act bool)
- func Len(t testing.TB, name string, n int, a interface{})
- func Success(t testing.TB, name string, err error)
- func True(t testing.TB, name string, act bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.