test

package
v0.0.0-...-565e439 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(tb testing.TB, cond bool, format string, args ...interface{})

Assert fails a given test if a condition is found to be false, optionally displaying a message to help diagnose the failure.

func Equals

func Equals(tb testing.TB, exp, act interface{})

Equals performs a deep equal against exp and act and fails the given test if they're found to be different.

func ErrorNil

func ErrorNil(tb testing.TB, err error)

ErrorNil fails a given test if an error is not nil and prints the error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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