assert

package
v0.0.0-...-b425644 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assert

type Assert struct {
	// contains filtered or unexported fields
}

func New

func New(t *testing.T) *Assert

func NewWithSkip

func NewWithSkip(t *testing.T, skip int) *Assert

func (*Assert) Equal

func (s *Assert) Equal(a, b interface{}, messages ...interface{})

func (*Assert) ErrorIfNil

func (s *Assert) ErrorIfNil(i interface{}, messages ...interface{})

func (*Assert) FailIf

func (s *Assert) FailIf(check bool, messages ...interface{})

func (*Assert) FailIfError

func (s *Assert) FailIfError(err error)

func (*Assert) FailIfNil

func (s *Assert) FailIfNil(i interface{}, messages ...interface{})

func (*Assert) NoError

func (s *Assert) NoError(err error)

Jump to

Keyboard shortcuts

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