Documentation
      ¶
    
    
  
    
  
    Index ¶
- func ElementsMatch[S ~[]E, E any](t *testing.T, list S, expectedElements ...E) bool
 - func Empty(t *testing.T, obj any) bool
 - func Equal(t *testing.T, expected, actual any) bool
 - func Error(t *testing.T, err error)
 - func False(t *testing.T, condition bool) bool
 - func HasKey(t *testing.T, m map[string]any, key string) bool
 - func HasValue(t *testing.T, m map[string]any, value any) bool
 - func Len(t *testing.T, obj any, length int) bool
 - func ListHas[S ~[]E, E any](t *testing.T, value any, list S) bool
 - func ListMissing[S ~[]E, E any](t *testing.T, value any, list S) bool
 - func MapContains(t *testing.T, m map[string]any, key string, value any) bool
 - func MapMissing(t *testing.T, m map[string]any, key string, value any) bool
 - func Nil(t *testing.T, value any) bool
 - func NoError(t *testing.T, err error) bool
 - func NotEmpty(t *testing.T, obj any) bool
 - func NotEqual(t *testing.T, expected, actual any) bool
 - func NotNil(t *testing.T, value any) bool
 - func True(t *testing.T, condition bool) bool
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ElementsMatch ¶ added in v1.1.0
ElementsMatch checks if the elements in the arrays are the same
func ListMissing ¶
ListMissing logs an error if the list contains the value
func MapContains ¶
MapContains logs an error if the map does not contain the key-value pair
func MapMissing ¶
MapMissing logs an error if the map contains the key-value pair
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.