assert

package
v3.2.7+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: Apache-2.0, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepEqual

func DeepEqual(t assert.TestingT, actual, expected interface{})

func Equal

func Equal(t TestingT, actual, expected interface{}, msg string)

func False

func False(t TestingT, obj bool)

func Nil

func Nil(t assert.TestingT, obj interface{})

func NotEqual

func NotEqual(t assert.TestingT, actual, expected interface{}, msg string)

func NotNil

func NotNil(t assert.TestingT, obj interface{})

func True

func True(t TestingT, obj bool)

Types

type TestingT

type TestingT interface {
	FailNow()
	Fail()
	Log(args ...interface{})
	Fatalf(format string, args ...interface{})
}

Jump to

Keyboard shortcuts

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