github.com/decred/dcrlnd@v0.7.6/internal/testutils/testing.go (about) 1 package testutils 2 3 // TB is an interface that fulfills both testing.T and testing.B for their 4 // common methods. 5 type TB interface { 6 Fatal(...interface{}) 7 Fatalf(string, ...interface{}) 8 Errorf(string, ...interface{}) 9 Failed() bool 10 Helper() 11 Logf(string, ...interface{}) 12 }