Documentation ¶
Index ¶
- func ExpectDeepEqual[T any](t *testing.T, got T, want T)
- func ExpectEqual[T comparable](t *testing.T, got T, want T)
- func ExpectEqualAny[T comparable](t *testing.T, got T, wants []T)
- func ExpectError(t *testing.T, expected error, err error)
- func ExpectError2(t *testing.T, input any, expected error, err error)
- func ExpectFalse(t *testing.T, got bool)
- func ExpectNoError(t *testing.T, err error)
- func ExpectTrue(t *testing.T, got bool)
- func ExpectType[T any](t *testing.T, got any) (_ T)
- func IgnoreError[Result any](r Result, _ error) Result
- func Must[T any](v T, err E.NestedError) T
- func Must2[T any](v T, err error) T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpectDeepEqual ¶
func ExpectEqual ¶
func ExpectEqual[T comparable](t *testing.T, got T, want T)
func ExpectEqualAny ¶
func ExpectEqualAny[T comparable](t *testing.T, got T, wants []T)
func ExpectFalse ¶
func ExpectNoError ¶
func ExpectTrue ¶
func IgnoreError ¶
func Must ¶
func Must[T any](v T, err E.NestedError) T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.