improve: move comment to msgAndArgs-param in test

pull/1423/head
Linus Barth 2023-10-16 02:59:16 +02:00 committed by Olivier Mengué
parent 855d1c6784
commit 130d340262
1 changed files with 2 additions and 4 deletions

View File

@ -259,14 +259,12 @@ func (suite *SuiteTester) TestSubtest() {
func (suite *SuiteTester) TearDownSubTest() {
suite.TearDownSubTestRunCount++
// We should get the *testing.T for the test that is to be torn down
suite.Contains(suite.T().Name(), "subtest")
suite.Contains(suite.T().Name(), "subtest", "We should get the *testing.T for the test that is to be torn down")
}
func (suite *SuiteTester) SetupSubTest() {
suite.SetupSubTestRunCount++
// We should get the *testing.T for the test that is to be set up
suite.Contains(suite.T().Name(), "subtest")
suite.Contains(suite.T().Name(), "subtest", "We should get the *testing.T for the test that is to be set up")
}
type SuiteSkipTester struct {