testassert

package
v0.0.0-...-60f95fb Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package testassert is a set of custom assertions function for easing the testing of the packages of this module.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorWithCode

func ErrorWithCode(t *testing.T, err error, c errors.Code, mds ...errors.MD) bool

ErrorWithCode asserts if an error has the specified error code and metadata.

Types

This section is empty.

Jump to

Keyboard shortcuts

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