nitstest

package
v0.0.0-...-6ffbed4 Latest Latest
Warning

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

Go to latest
Published: May 21, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTestError = errors.New("test error")

Functions

func FailIfBytesEqual

func FailIfBytesEqual(t *testing.T, expect, actual []byte)

func FailIfDeepEqual

func FailIfDeepEqual(t *testing.T, expect, actual interface{})

func FailIfEqual

func FailIfEqual(t *testing.T, expect, actual interface{})

func FailIfErrorIs

func FailIfErrorIs(t *testing.T, expect, actual error)

func FailIfNotBytesEqual

func FailIfNotBytesEqual(t *testing.T, expect, actual []byte)

func FailIfNotDeepEqual

func FailIfNotDeepEqual(t *testing.T, expect, actual interface{})

func FailIfNotEqual

func FailIfNotEqual(t *testing.T, expect, actual interface{})

func FailIfNotErrorIs

func FailIfNotErrorIs(t *testing.T, expect, actual error)

func FailIfNotRegexpMatchString

func FailIfNotRegexpMatchString(t *testing.T, expect *regexp.Regexp, actual string)

func FailIfRegexpMatchString

func FailIfRegexpMatchString(t *testing.T, expect *regexp.Regexp, actual string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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