Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct { IsNil func(obtained interface{}) FailNow func() }
Checker accepts the injection of check functions and context from test files. Any check function should be set before usage unless the test will fail.
func CheckerWithNilAssert ¶
func CheckerWithNilAssert(re *require.Assertions) *Checker
CheckerWithNilAssert creates Checker with nil assert function.
Click to show internal directories.
Click to hide internal directories.