Documentation ¶
Index ¶
- func Equal(t testing.TB, first, second interface{}, msg string, args ...interface{})
- func False(t testing.TB, obj interface{}, msg string, args ...interface{})
- func Nil(t testing.TB, obj interface{}, msg string, args ...interface{})
- func NotEqual(t testing.TB, first, second interface{}, msg string, args ...interface{})
- func NotNil(t testing.TB, obj interface{}, msg string, args ...interface{})
- func RegisterOpts(t reflect.Type, opts ...cmp.Option)
- func Soon(t testing.TB, callback func(ctx context.Context), timeout time.Duration)
- func True(t testing.TB, obj interface{}, msg string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Equal ¶
Equal compares first and second for equality. The objects must be of the same type. If the objects are not equal, the test will be failed with an error message containing msg and args.
func NotEqual ¶
NotEqual compares first and second for inequality. The objects must be of the same type.
func RegisterOpts ¶
RegisterOpts registers go-cmp options for a type. These options will be used when comparing two objects for equality.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.