From 46e05f3e570d806a09d9f2c1c56237f6ebe53d1b Mon Sep 17 00:00:00 2001 From: Samuel Nelson Date: Tue, 15 Oct 2013 12:02:07 -0600 Subject: [PATCH] Removing unnecessary defer (the call was already at the end of the function it was in ) --- suite/suite.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suite/suite.go b/suite/suite.go index 4b36aa6..8d8ca2a 100644 --- a/suite/suite.go +++ b/suite/suite.go @@ -46,6 +46,6 @@ func Run(t *testing.T, suite TestingSuite) { } if tearDownAllSuite, ok := suite.(TearDownAllSuite); ok { - defer tearDownAllSuite.TearDownSuite() + tearDownAllSuite.TearDownSuite() } }