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
|
suiteSetupDone := false
|
||||||
|
|
||||||
var (
|
var stats *SuiteInformation
|
||||||
stats *SuiteInformation
|
|
||||||
)
|
|
||||||
|
|
||||||
if _, measureStats := suite.(WithStats); measureStats {
|
if _, measureStats := suite.(WithStats); measureStats {
|
||||||
stats = newSuiteInformation()
|
stats = newSuiteInformation()
|
||||||
|
|
Loading…
Reference in New Issue