assert

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2018 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Eq

func Eq(t *testing.T, expected interface{}, actual interface{})

Uses reflect.DeepEqual to test for equality

func EqInt

func EqInt(t *testing.T, expected int, actual int)

func EqString

func EqString(t *testing.T, expected string, actual string)

func Fail

func Fail(t *testing.T, text string)

func Failf

func Failf(t *testing.T, format string, args ...interface{})

func NoErr

func NoErr(t *testing.T, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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