Use comma ok idiom

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

View File

@ -90,7 +90,7 @@ func Run(t *testing.T, suite TestingSuite) {
var stats *SuiteInformation
if _, measureStats := suite.(WithStats); measureStats {
if _, ok := suite.(WithStats); ok {
stats = newSuiteInformation()
}