test

package
v0.0.0-...-8ce64ba Latest Latest
Warning

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

Go to latest
Published: Feb 12, 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, exp bool)

Assert checks that an expected outcome is satisfied and fails if it is not.

func Equals

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

Equals performs a deep equal comparison against two values and fails if they are not the same.

func ErrorNil

func ErrorNil(tb testing.TB, err error)

ErrorNil asserts that an error is nil and fails if it's not.

Types

This section is empty.

Jump to

Keyboard shortcuts

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