updated TestingSuite interface to use TestingT

pull/881/head
Keynan Pratt 2020-01-29 08:16:46 +11:00 committed by Boyan Soubachov
parent d3e61647c0
commit dca7be2281
1 changed files with 2 additions and 4 deletions

View File

@ -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