package assertion

import "github.com/onsi/gomega/internal/assertion"

Index

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

assertion.go

Version
v1.10.4
Published
Dec 8, 2020
Platform
linux/amd64
Imports
3 packages
Last checked
1 hour ago

Tools for package owners.