package matchers

import "go.opentelemetry.io/otel/internal/matchers"

Index

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

Source Files

expectation.go expecter.go package.go

Version
v0.2.0
Published
Dec 3, 2019
Platform
darwin/amd64
Imports
2 packages
Last checked
52 minutes ago

Tools for package owners.