expect

package
v0.0.0-...-2d572df Latest Latest
Warning

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

Go to latest
Published: May 28, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

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

Equal expects the given values to be equal

func Error

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

Error expects the given error to be present. Will fatally end the current rest run if not.

func False

func False(t *testing.T, actual bool)

False expected the given value to be false

func NotEqual

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

NotEqual expects the given values not to be equal

func Ok

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

Ok expects the given error to be nil. Will fatally end the current test run if not.

func True

func True(t *testing.T, actual bool)

True expected the given value to be true

Types

This section is empty.

Jump to

Keyboard shortcuts

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