verify

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(t *testing.T, condition bool, msg string, v ...interface{})

Assert fails the test if the condition is false.

func Equals

func Equals(t *testing.T, exp, act interface{})

Equals fails the test if exp is not equal to act.

func NotNil added in v0.3.0

func NotNil(t *testing.T, act interface{}, msg string)

NotNil fails if act is nil

func Ok

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

Ok fails the test if an err is not nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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