mirror of https://github.com/stretchr/testify.git
Removing unnecessary defer (the call was already at the end of the function it was in
)pull/24/head
parent
c737e6cc4e
commit
46e05f3e57
|
@ -46,6 +46,6 @@ func Run(t *testing.T, suite TestingSuite) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if tearDownAllSuite, ok := suite.(TearDownAllSuite); ok {
|
if tearDownAllSuite, ok := suite.(TearDownAllSuite); ok {
|
||||||
defer tearDownAllSuite.TearDownSuite()
|
tearDownAllSuite.TearDownSuite()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue