mirror of
https://github.com/stretchr/testify.git
synced 2025-05-30 19:22:30 +00:00
Removing unnecessary defer (the call was already at the end of the function it was in
)
This commit is contained in:
parent
c737e6cc4e
commit
46e05f3e57
@ -46,6 +46,6 @@ func Run(t *testing.T, suite TestingSuite) {
|
||||
}
|
||||
|
||||
if tearDownAllSuite, ok := suite.(TearDownAllSuite); ok {
|
||||
defer tearDownAllSuite.TearDownSuite()
|
||||
tearDownAllSuite.TearDownSuite()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user