import "go.opentelemetry.io/otel/internal/matchers"
expectation.go expecter.go package.go temporal_matcher.go
type Expectation struct {
// contains filtered or unexported fields
}
func (e *Expectation) NotToBeNil()
func (e *Expectation) NotToContain(expected interface{})
func (e *Expectation) NotToEqual(expected interface{})
func (e *Expectation) ToBeFalse()
func (e *Expectation) ToBeNil()
func (e *Expectation) ToBeTemporally(matcher TemporalMatcher, compareTo interface{})
func (e *Expectation) ToBeTrue()
func (e *Expectation) ToContain(expected interface{})
func (e *Expectation) ToEqual(expected interface{})
func (e *Expectation) ToMatchError(expected interface{})
func (e *Expectation) ToMatchInAnyOrder(expected interface{})
func (e *Expectation) ToSucceed()
type Expecter struct {
// contains filtered or unexported fields
}
func (a *Expecter) Expect(actual interface{}) *Expectation
const ( Before TemporalMatcher = iota BeforeOrSameTime After AfterOrSameTime )
Package matchers imports 7 packages (graph) and is imported by 1 packages. Updated 2020-04-07. Refresh now. Tools for package owners.