Documentation
¶
Index ¶
- func CaptureStdout(t *testing.T, fn func()) string
- func DoMapsMatch(t *testing.T, expectedMap map[string]interface{}, ...)
- func ExpectBool(t *testing.T, expectedBool bool, testBool bool)
- func ExpectError(t *testing.T, expectedError error, testError error)
- func ExpectErrorContainingText(t *testing.T, expectedSubtext string, testError error)
- func ExpectPanic(t *testing.T, fn func())
- func ExpectPanicError(t *testing.T, expectedError error, fn func())
- func ExpectString(t *testing.T, expectedStr string, testStr string)
- func ExpectValue(t *testing.T, expectedVal interface{}, testVal interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureStdout ¶
func DoMapsMatch ¶
func ExpectPanic ¶
func ExpectPanicError ¶
func ExpectValue ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.