mirror of https://github.com/stretchr/testify.git
Fix var block with only one variable
parent
9feda7c901
commit
89909913cc
|
@ -88,9 +88,7 @@ func Run(t *testing.T, suite TestingSuite) {
|
|||
|
||||
suiteSetupDone := false
|
||||
|
||||
var (
|
||||
stats *SuiteInformation
|
||||
)
|
||||
var stats *SuiteInformation
|
||||
|
||||
if _, measureStats := suite.(WithStats); measureStats {
|
||||
stats = newSuiteInformation()
|
||||
|
|
Loading…
Reference in New Issue