test

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(t *testing.T, got, want interface{})

Assert compares the given two values, and make testing fail if they are not equivalent.

func FatalOn added in v1.1.0

func FatalOn(err error, t *testing.T)

FatalOn calls t.Fatal if the given error is not nil.

func PanicOn added in v1.1.0

func PanicOn(err error)

PanicOn panics if the given error is not nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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