assert

package
v0.0.0-...-3948e75 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

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

Error fails the test on a nil error.

func ErrorContains

func ErrorContains(t *testing.T, err error, substr string)

ErrorContains asserts that err is non-nil and contains substr.

func NoError

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

NoError fails the test on a non-nil error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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