package assertion
import "github.com/onsi/gomega/internal/assertion"
Index ¶
- type Assertion
- func New(actualInput interface{}, failWrapper *types.GomegaFailWrapper, offset int, extra ...interface{}) *Assertion
- func (assertion *Assertion) NotTo(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
- func (assertion *Assertion) Should(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
- func (assertion *Assertion) ShouldNot(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
- func (assertion *Assertion) To(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
- func (assertion *Assertion) ToNot(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
Types ¶
type Assertion ¶
type Assertion struct {
// contains filtered or unexported fields
}
func New ¶
func New(actualInput interface{}, failWrapper *types.GomegaFailWrapper, 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
Source Files ¶
- Version
- v1.6.0
- Published
- Aug 19, 2019
- Platform
- windows/amd64
- Imports
- 3 packages
- Last checked
- 5 days ago –
Tools for package owners.