testutils

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyDeepEqual

func VerifyDeepEqual(t *testing.T, valueName string, expectedValue interface{}, seenValue interface{}) bool

VerifyDeepEqual checks that two values (including structures) are equal, or else it fails the test.

func VerifyError

func VerifyError(t *testing.T, err error, expectedCount int, expectedSubstrings []string) bool

VerifyError checks a (multi)error has expected properties, or else it fails the test.

Types

This section is empty.

Jump to

Keyboard shortcuts

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