mirror of https://github.com/stretchr/testify.git
updated TestingSuite interface to use TestingT
parent
d3e61647c0
commit
dca7be2281
|
@ -1,12 +1,10 @@
|
|||
package suite
|
||||
|
||||
import "testing"
|
||||
|
||||
// TestingSuite can store and return the current *testing.T context
|
||||
// generated by 'go test'.
|
||||
type TestingSuite interface {
|
||||
T() *testing.T
|
||||
SetT(*testing.T)
|
||||
T() TestingT
|
||||
SetT(TestingT)
|
||||
}
|
||||
|
||||
// SetupAllSuite has a SetupSuite method, which will run before the
|
||||
|
|
Loading…
Reference in New Issue