test

package
v0.0.0-...-36fe831 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Utilities to supplement the standard Go testing package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Differ

func Differ(want interface{}, got interface{}) error

if reflect.DeepEqual(want, got) { return nil } else { return error("want != got" })

func ErrorIf

func ErrorIf(t testing.TB, err error, format ...interface{}) error

func ErrorIfN

func ErrorIfN(callDepth int, t testing.TB, err error, format ...interface{}) error

func FatalIf

func FatalIf(t testing.TB, err error, format ...interface{})

func FatalIfN

func FatalIfN(callDepth int, t testing.TB, err error, format ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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