testing

package
v0.0.0-...-d5b5c0c Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2019 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckBufEq

func CheckBufEq(t *tt.T, given, expect []byte) bool

CheckBufEq tests two byte slices for equality.

func CheckEq

func CheckEq(t *tt.T, given, expect interface{}) bool

CheckEq tests two values for equality.

func CheckErrMatches

func CheckErrMatches(t *tt.T, err error, match string) bool

CheckErrMatches checks whether the given error matches the regular expression given as "match".

Types

This section is empty.

Jump to

Keyboard shortcuts

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