assert

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2018 License: MIT Imports: 10 Imported by: 0

README

WIP.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type T

type T struct {
	*testing.T

	Name string
	// contains filtered or unexported fields
}

func New

func New(t *testing.T, name string) *T

func (*T) CheckError

func (t *T) CheckError(actual error, expected interface{}) bool

func (*T) Equal

func (t *T) Equal(expected, actual interface{}, opts ...cmp.Option) bool

func (*T) Len

func (t *T) Len(actual interface{}, length int) bool

func (*T) NotEqual

func (t *T) NotEqual(expected, actual interface{}, opts ...cmp.Option) bool

func (*T) NotNil

func (t *T) NotNil(actual interface{}) bool

Jump to

Keyboard shortcuts

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