Documentation ¶
Overview ¶
Assertion helpers
Index ¶
- func Assert(t testing.TB, expr bool)deprecated
- func Equal[T comparable](t testing.TB, actual T, expected T)
- func EqualInt(t testing.TB, actual int, expected int)deprecated
- func EqualJSON(t testing.TB, obj interface{}, expected string)
- func EqualJson(t testing.TB, obj interface{}, expected string)deprecated
- func EqualString(t testing.TB, actual string, expected string)deprecated
- func Matches(t testing.TB, actual string, pattern string)
- func Ok(t testing.TB, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Equal ¶
func Equal[T comparable](t testing.TB, actual T, expected T)
func EqualString
deprecated
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.