test

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(t *testing.T, objects ...any)

Equal 参数为act-expect-act-expect-...结构,其中expect为期望值,act为实际值

func Err

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

func False

func False(t *testing.T, value bool)

func FalseErr

func FalseErr(t *testing.T, value bool, errMsg string)

func True

func True(t *testing.T, value bool)

func TrueErr

func TrueErr(t *testing.T, value bool, errMsg string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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