2024-01-14 10:04:17 +00:00
|
|
|
package buntest
|
2023-12-20 07:03:03 +00:00
|
|
|
|
|
|
|
// TestingTB is a subset of the API provided by both *testing.T and *testing.B.
|
|
|
|
type TestingTB interface {
|
|
|
|
Helper()
|
2024-03-21 05:56:01 +00:00
|
|
|
Errorf(format string, args ...any)
|
2023-12-20 07:03:03 +00:00
|
|
|
FailNow()
|
|
|
|
Cleanup(f func())
|
|
|
|
}
|