mirror of https://github.com/stretchr/testify.git
Clear staff
parent
e298ddcc72
commit
d68e894fba
|
@ -24,8 +24,8 @@
|
|||
// func(*testing.T)).
|
||||
//
|
||||
// Regular expression to select test suites specified command-line
|
||||
// command-line argument "-run". Regular expression to select the
|
||||
// methods of test suites specified command-line argument "-m".
|
||||
// argument "-run". Regular expression to select the methods
|
||||
// of test suites specified command-line argument "-m".
|
||||
//
|
||||
// A crude example:
|
||||
// // Basic imports
|
||||
|
|
|
@ -54,7 +54,6 @@ func Run(t *testing.T, suite TestingSuite) {
|
|||
if setupTestSuite, ok := suite.(SetupTestSuite); ok {
|
||||
setupTestSuite.SetupTest()
|
||||
}
|
||||
t.Logf("Call test %q", method.Name)
|
||||
method.Func.Call([]reflect.Value{reflect.ValueOf(suite)})
|
||||
if tearDownTestSuite, ok := suite.(TearDownTestSuite); ok {
|
||||
tearDownTestSuite.TearDownTest()
|
||||
|
|
Loading…
Reference in New Issue