Documentation ¶
Index ¶
- Constants
- func AssertErrorContains(t *testing.T, err error, expectedErr string)
- func AssertErrorMessage(t *testing.T, err error, expectedErr string)
- func RequireErrorContains(t *testing.T, err error, expectedErr string)
- func RequireErrorMessage(t *testing.T, err error, expectedErr string)
- func RequireLogContains(t *testing.T, hook *logtest.Hook, expected string)
Constants ¶
View Source
const ( // these are the same on unix FileNotFoundMessage = "no such file or directory" PathNotFoundMessage = FileNotFoundMessage )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.