assert

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrayEquals added in v1.0.28

func ArrayEquals(t assert.TestingT, expected, actual []any, msgAndArgs ...any) bool

func ArrayEqualsStrictOrder added in v1.0.35

func ArrayEqualsStrictOrder(t assert.TestingT, expected, actual []any, msgAndArgs ...any) bool

func JsonDataEquals

func JsonDataEquals(t assert.TestingT, expected, actual []byte, msgAndArgs ...any) bool

func JsonEquals

func JsonEquals(t assert.TestingT, expected, actual map[string]any, msgAndArgs ...any) bool

Types

type ByString added in v1.0.29

type ByString []any

func (ByString) Len added in v1.0.29

func (a ByString) Len() int

func (ByString) Less added in v1.0.29

func (a ByString) Less(i, j int) bool

func (ByString) Swap added in v1.0.29

func (a ByString) Swap(i, j int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL