|
package benchhelpers
|
|
|
|
import (
|
|
"testing"
|
|
|
|
testinginterface "github.com/mitchellh/go-testing-interface"
|
|
)
|
|
|
|
type tbWrapper struct {
|
|
testing.TB
|
|
}
|
|
|
|
func (b tbWrapper) Parallel() {
|
|
// no-op
|
|
}
|
|
|
|
func TBtoT(tb testing.TB) testinginterface.T {
|
|
return tbWrapper{tb}
|
|
}
|