golassert

package
v0.0.0-...-1bfd785 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: MIT Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertEqual

func AssertEqual(expected interface{}, result interface{})

AssertEqual asserts if expected result is same as returned result.

func AssertEqualStringArray

func AssertEqualStringArray(expected []string, result []string)

AssertEqualStringArray asserts two string arrays.

func AssertEqualStringMap

func AssertEqualStringMap(expected map[string]string, result map[string]string)

AssertEqualStringMap asserts two string:string maps.

func AssertType

func AssertType(expected interface{}, result interface{})

AssertType asserts type of expected and result.

func Equal

func Equal(expected interface{}, result interface{})

func EqualStringArray

func EqualStringArray(expected interface{}, result interface{})

func EqualStringMap

func EqualStringMap(expected interface{}, result interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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