internal

package
v0.0.66 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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(tb testing.TB, printf func(format string, args ...any), expected, actual interface{}) (success bool)

func Error

func Error(tb testing.TB, printf func(format string, args ...any), err error) (success bool)

func ErrorContains

func ErrorContains(tb testing.TB, printf func(format string, args ...any), err error, substr string) (success bool)

func ErrorIs

func ErrorIs(tb testing.TB, printf func(format string, args ...any), err, target error) (success bool)

func False

func False(tb testing.TB, printf func(format string, args ...any), value bool) (success bool)

func Nil

func Nil(tb testing.TB, printf func(format string, args ...any), value interface{}) (success bool)

func NoError

func NoError(tb testing.TB, printf func(format string, args ...any), err error) (success bool)

func NotEqual

func NotEqual(tb testing.TB, printf func(format string, args ...any), expected, actual interface{}) (success bool)

func NotNil

func NotNil(tb testing.TB, printf func(format string, args ...any), value interface{}) (success bool)

func True

func True(tb testing.TB, printf func(format string, args ...any), value bool) (success bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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