mirror of
https://github.com/stretchr/testify.git
synced 2025-07-13 07:39:48 +00:00
updated TestingSuite interface to use TestingT
This commit is contained in:
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…
x
Reference in New Issue
Block a user