test

package
v0.0.0-...-65f3c3b Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpectError

func ExpectError(e error, t *testing.T)

ExpectError falha o teste se e == nil

func ExpectFalse

func ExpectFalse(condition bool, t *testing.T)

ExpectFalse falha o teste caso a condição não seja falsa

func ExpectNil

func ExpectNil(obj interface{}, t *testing.T)

ExpectNil falha o teste caso obj seja diferente de nil

func ExpectNoError

func ExpectNoError(e error, t *testing.T)

ExpectNoError falha o teste se e != nil

func ExpectTrue

func ExpectTrue(condition bool, t *testing.T)

ExpectTrue falha o teste caso a condição não seja verdadeira

Types

This section is empty.

Jump to

Keyboard shortcuts

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