Merge pull request #57 from kavkaz/master

Clear staff
pull/60/head
Tyler 2014-06-16 10:06:50 -06:00
commit 57878a4c90
2 changed files with 2 additions and 3 deletions

View File

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

View File

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