requirex

package
v0.0.557 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualAsJSON

func EqualAsJSON(t *testing.T, expected, actual interface{}, args ...interface{})

func EqualDuration added in v0.0.451

func EqualDuration(t require.TestingT, expected time.Duration, actual time.Duration, precision time.Duration)

EqualDuration fails if expected and actual are more distant than precision

func EqualTime added in v0.0.451

func EqualTime(t require.TestingT, expected time.Time, actual time.Time, precision time.Duration)

EqualTime fails if expected and actual are more distant than precision

Types

This section is empty.

Jump to

Keyboard shortcuts

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