testing

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2016 License: BSD-2-Clause, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertEqual

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

AssertEqual compares an expected to an actual interface type, and if not equal, halts the test.

func AssertEqualString

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

AssertEqualString compares an expected to an actual string, and if not equal, halts the test.

func AssertNoError

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

AssertNoError compares an actual error to nil, and if nil, halts the test.

Types

This section is empty.

Jump to

Keyboard shortcuts

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