assertion

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2015 License: MIT, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assertion

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

func New

func New(actualInput interface{}, fail types.GomegaFailHandler, offset int, extra ...interface{}) *Assertion

func (*Assertion) NotTo

func (assertion *Assertion) NotTo(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool

func (*Assertion) Should

func (assertion *Assertion) Should(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool

func (*Assertion) ShouldNot

func (assertion *Assertion) ShouldNot(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool

func (*Assertion) To

func (assertion *Assertion) To(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool

func (*Assertion) ToNot

func (assertion *Assertion) ToNot(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool

Jump to

Keyboard shortcuts

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