Documentation
¶
Index ¶
- func ArraysArePermutations[T comparable](a, b []T) bool
- func AssertJSONEqualList(t *testing.T, expected []string, actual string)
- func CompareJSON(t *testing.T, expected, actual string)
- func ConvertToArray(input string) []string
- func EqualByteSlice(a, b []byte) bool
- func EqualInt64Slice(a, b []int64) bool
- func IsJSONResponse(s string) bool
- func IsJSONString(s string) bool
- func NormalizeJSON(v interface{}) interface{}
- func ParseCommand(cmd string) []string
- func UnorderedEqual(expected, actual interface{}) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArraysArePermutations ¶
func ArraysArePermutations[T comparable](a, b []T) bool
func CompareJSON ¶
func ConvertToArray ¶
func EqualByteSlice ¶
EqualByteSlice compares two byte slices and returns true if they are equal.
func EqualInt64Slice ¶
EqualInt64Slice compares two int64 slices and returns true if they are equal.
func IsJSONResponse ¶
func IsJSONString ¶
func NormalizeJSON ¶
func NormalizeJSON(v interface{}) interface{}
func ParseCommand ¶
func UnorderedEqual ¶
func UnorderedEqual(expected, actual interface{}) bool
UnorderedEqual compares two slices of interfaces and returns true if they contain the same elements, regardless of order.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.