core/internal/watermill/watermilltest/testing_tb.go

10 lines
208 B
Go

package watermilltest
// TestingTB is a subset of the API provided by both *testing.T and *testing.B.
type TestingTB interface {
Helper()
Errorf(format string, args ...any)
FailNow()
Cleanup(f func())
}