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