assert

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(t *testing.T, expected, actual interface{}, message ...string)

func Error

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

func False

func False(t *testing.T, actual bool)

func JsonEqual

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

func Len

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

func Nil

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

func NotNil

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

func ObjectsAreEqual

func ObjectsAreEqual(expected, actual interface{}) bool

func True

func True(t *testing.T, actual bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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