test

package
Version: v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchError

func MatchError(t *testing.T, s string, e error) bool

MatchError checks errors against a regexp.

Returns true if the string is empty and the error is nil. Returns false if the string is not empty and the error is nil. Otherwise returns the result of a regexp match against the string.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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