From 52c9fb552cd00d120578351588f98b6edc5629a9 Mon Sep 17 00:00:00 2001 From: Erin Call Date: Tue, 24 Dec 2019 15:33:50 -0800 Subject: [PATCH] Ensure the plan test mocks' expectations are met [#33] --- internal/helm/plan_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/helm/plan_test.go b/internal/helm/plan_test.go index e5a1a96..e61a51c 100644 --- a/internal/helm/plan_test.go +++ b/internal/helm/plan_test.go @@ -20,6 +20,7 @@ func TestPlanTestSuite(t *testing.T) { func (suite *PlanTestSuite) TestNewPlan() { ctrl := gomock.NewController(suite.T()) + defer ctrl.Finish() stepOne := NewMockStep(ctrl) stepTwo := NewMockStep(ctrl) @@ -63,6 +64,7 @@ func (suite *PlanTestSuite) TestNewPlan() { func (suite *PlanTestSuite) TestNewPlanAbortsOnError() { ctrl := gomock.NewController(suite.T()) + defer ctrl.Finish() stepOne := NewMockStep(ctrl) stepTwo := NewMockStep(ctrl)