Documentation
¶
Index ¶
- func AssertError(t *testing.T, assertErrFn func(*testing.T, error), err error)
- func AssertPartialEqualMap(t *testing.T, subject, expected map[string]any)
- func ExpectedErrorChecks(expected ...func(*testing.T, error)) func(*testing.T, error)
- func ExpectedErrorIs(allExpectedErrors ...error) func(*testing.T, error)
- func ExpectedErrorIsOfType(expected error) func(*testing.T, error)
- func ExpectedErrorStringContains(s string) func(*testing.T, error)
- func ReadAndClose(t *testing.T, body io.ReadCloser) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertPartialEqualMap ¶
func ExpectedErrorChecks ¶
func ReadAndClose ¶
func ReadAndClose(t *testing.T, body io.ReadCloser) []byte
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.