From 3919a9644ca05ff3e98598f4e73f6ac4e9505a10 Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Fri, 28 Sep 2018 14:54:59 -0700 Subject: [PATCH] core: go fmt context_plan_test.go --- terraform/context_plan_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/context_plan_test.go b/terraform/context_plan_test.go index 64428fc74..b488d5776 100644 --- a/terraform/context_plan_test.go +++ b/terraform/context_plan_test.go @@ -4892,7 +4892,7 @@ func TestContext2Plan_createBeforeDestroy_depends_datasource(t *testing.T) { }, }, } - p.PlanResourceChangeFn = func (req providers.PlanResourceChangeRequest) providers.PlanResourceChangeResponse { + p.PlanResourceChangeFn = func(req providers.PlanResourceChangeRequest) providers.PlanResourceChangeResponse { return providers.PlanResourceChangeResponse{ PlannedState: req.ProposedNewState, } @@ -4926,7 +4926,7 @@ func TestContext2Plan_createBeforeDestroy_depends_datasource(t *testing.T) { t.Fatal(err) } - t.Run(ric.Addr.String(), func (t *testing.T) { + t.Run(ric.Addr.String(), func(t *testing.T) { switch i := ric.Addr.String(); i { case "aws_instance.foo[0]": if res.Action != plans.Create {