testutils

package
v0.0.0-...-c57cf68 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2015 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JsonEqual

func JsonEqual(json1, json2 []byte) (isEqual bool, err error)

Types

type Wrapper

type Wrapper struct {
	*testing.T
}

func Wrap

func Wrap(t *testing.T) Wrapper

func (Wrapper) BailIfError

func (w Wrapper) BailIfError(err error)

func (Wrapper) BailIfErrorf

func (w Wrapper) BailIfErrorf(err error, msg string, args ...interface{})

func (Wrapper) ShouldFailf

func (w Wrapper) ShouldFailf(err error, msg string, args ...interface{})

Jump to

Keyboard shortcuts

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