matchers

package
v0.0.0-...-a71ec85 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Expectation

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

func (*Expectation) NotToBeNil

func (e *Expectation) NotToBeNil()

func (*Expectation) NotToEqual

func (e *Expectation) NotToEqual(expected interface{})

func (*Expectation) ToBeFalse

func (e *Expectation) ToBeFalse()

func (*Expectation) ToBeNil

func (e *Expectation) ToBeNil()

func (*Expectation) ToBeTrue

func (e *Expectation) ToBeTrue()

func (*Expectation) ToEqual

func (e *Expectation) ToEqual(expected interface{})

func (*Expectation) ToMatchError

func (e *Expectation) ToMatchError(expected interface{})

func (*Expectation) ToSucceed

func (e *Expectation) ToSucceed()

type Expecter

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

func NewExpecter

func NewExpecter(t *testing.T) *Expecter

func (*Expecter) Expect

func (a *Expecter) Expect(actual interface{}) *Expectation

Jump to

Keyboard shortcuts

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