mirror of https://github.com/stretchr/testify.git
Use comma ok idiom
parent
89909913cc
commit
f37e428318
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue