assert

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2018 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OK

func OK(t *testing.T, ok bool, messages ...string)

OK assert given bool is true. This will be translate to `translatedassert.OK` by gopwt.

func Require

func Require(t *testing.T, ok bool, messages ...string)

Require assert given bool is true. The difference from OK is Require calls t.Skip after t.Error on fail. This will be translate to `translatedassert.Require` by gopwt.

Types

This section is empty.

Jump to

Keyboard shortcuts

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