testutil

package
v0.0.0-...-8ad0638 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertError

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

AssertError asserts if err has the c error code and mds metadata.

func NewUUID

func NewUUID(t *testing.T) uuid.UUID

NewUUID creates a random V4 UUID and abort the test if there is an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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