10 lines
202 B
Go
10 lines
202 B
Go
package buntest
|
|
|
|
// 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())
|
|
}
|