File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -259,14 +259,12 @@ func (suite *SuiteTester) TestSubtest() {
259
259
260
260
func (suite * SuiteTester ) TearDownSubTest () {
261
261
suite .TearDownSubTestRunCount ++
262
- // We should get the *testing.T for the test that is to be torn down
263
- suite .Contains (suite .T ().Name (), "subtest" )
262
+ suite .Contains (suite .T ().Name (), "subtest" , "We should get the *testing.T for the test that is to be torn down" )
264
263
}
265
264
266
265
func (suite * SuiteTester ) SetupSubTest () {
267
266
suite .SetupSubTestRunCount ++
268
- // We should get the *testing.T for the test that is to be set up
269
- suite .Contains (suite .T ().Name (), "subtest" )
267
+ suite .Contains (suite .T ().Name (), "subtest" , "We should get the *testing.T for the test that is to be set up" )
270
268
}
271
269
272
270
type SuiteSkipTester struct {
You can’t perform that action at this time.
0 commit comments