1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-11-25 22:41:46 +02:00
Files
opentelemetry-go/internal/matchers/expecter.go

29 lines
508 B
Go
Raw Normal View History

2023-08-10 16:00:53 -07:00
// Code created by gotmpl. DO NOT MODIFY.
// source: internal/shared/matchers/expecter.go.tmpl
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
package matchers // import "go.opentelemetry.io/otel/internal/matchers"
import (
"testing"
)
type Expecter struct {
t *testing.T
}
func NewExpecter(t *testing.T) *Expecter {
return &Expecter{
t: t,
}
}
func (a *Expecter) Expect(actual interface{}) *Expectation {
return &Expectation{
t: a.t,
actual: actual,
}
}