Fix var block with only one variable

pull/579/head
Esdras Beleza de Noronha 2020-03-08 23:14:20 +00:00 committed by Boyan Soubachov
parent 9feda7c901
commit 89909913cc
1 changed files with 1 additions and 3 deletions

View File

@ -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()