assert

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(t TestingT, expected interface{}, actual interface{}, msgAndArgs ...interface{}) bool

func Error

func Error(t TestingT, err error, msgAndArgs ...interface{}) bool

func NoError

func NoError(t TestingT, err error, msgAndArgs ...interface{}) bool

func NotEqual

func NotEqual(t TestingT, expected interface{}, actual interface{}, msgAndArgs ...interface{}) bool

Types

type TestingT

type TestingT interface {
	Errorf(format string, args ...interface{})
}

Jump to

Keyboard shortcuts

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