Documentation
¶
Overview ¶
Package test provides utilities to help with unit tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSentinelError ¶
func IsSentinelError(target error) require.ErrorAssertionFunc
IsSentinelError returns a require.ErrorAssertionFunc compatible func that checks if the error being tested is equal to the given sentinel error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.