Documentation ¶
Index ¶
- func Contains[K comparable](t *testing.T, expected K, array []K, message string)
- func Equal[K comparable](t *testing.T, expected, actual K, message string)
- func Nil(t *testing.T, actual interface{}, message string)
- func NotEqual[K comparable](t *testing.T, expected, actual K, message string)
- func NotNil(t *testing.T, actual interface{}, message string)
- func True(t *testing.T, expression bool, message string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶ added in v1.19.0
func Contains[K comparable](t *testing.T, expected K, array []K, message string)
ContainsStr assert that an array contains an expected value
func Equal ¶
func Equal[K comparable](t *testing.T, expected, actual K, message string)
Equal assert that an object is equal to an expected value
func NotEqual ¶
func NotEqual[K comparable](t *testing.T, expected, actual K, message string)
NotEqual assert that an object is not equal to an expected value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.