Help us shape the future of Go! Take the 2026 Go Developer Survey

assert

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: Apache-2.0 Imports: 2 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{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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