assert

package
v0.3.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(t testing.TB, cond bool, val ...interface{})

Assert .

func Assertf

func Assertf(t testing.TB, cond bool, format string, val ...interface{})

Assertf .

func DeepEqual

func DeepEqual(t testing.TB, expected, actual interface{})

DeepEqual .

func False

func False(t testing.TB, obj interface{})

func Nil

func Nil(t testing.TB, data interface{})

func NotEqual

func NotEqual(t testing.TB, expected, actual interface{})

NotEqual .

func NotNil

func NotNil(t testing.TB, data interface{})

func NotPanic

func NotPanic(t testing.TB, fn func())

NotPanic .

func Panic

func Panic(t testing.TB, fn func())

Panic .

func True

func True(t testing.TB, obj interface{})

func VerifyTrailer

func VerifyTrailer(t *testing.T, r io.Reader, expectedTrailer string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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