is

package module
v0.0.0-...-bf9f97f Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2017 License: MIT Imports: 2 Imported by: 0

README

is GoDoc

Go testing helpers

Documentation

Overview

Package is provides helpers for testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Content

func Content(tb testing.TB, condition bool, format string, args ...interface{})

Content fails the test if condition is false.

func Equal

func Equal(tb testing.TB, got, want interface{})

Equal fails the test if got is not equal to want.

func Ok

func Ok(tb testing.TB, err error)

Ok fails the test if the given error is not nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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