From 2ef56b3e05e0733ac011c9a748b2d95fb5f4b7f4 Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Mon, 4 Jun 2018 09:56:42 -0700 Subject: [PATCH] Fix up some missed "go fmt" Because of the size of some of these files, automatic format-on-save was implicitly disabled in my editor, which I didn't notice before committing. --- command/format/plan_test.go | 2 +- terraform/context_apply_test.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/command/format/plan_test.go b/command/format/plan_test.go index a87646cf0..0a2dc1e36 100644 --- a/command/format/plan_test.go +++ b/command/format/plan_test.go @@ -408,7 +408,7 @@ func TestPlanStats(t *testing.T) { }, }, PlanStats{ - // data resource refreshes are not counted in our stats + // data resource refreshes are not counted in our stats }, }, "replace": { diff --git a/terraform/context_apply_test.go b/terraform/context_apply_test.go index 628dc0b1f..818c4b07c 100644 --- a/terraform/context_apply_test.go +++ b/terraform/context_apply_test.go @@ -285,7 +285,7 @@ func TestContext2Apply_resourceDependsOnModuleStateOnly(t *testing.T) { ID: "bar", }, Dependencies: []string{"module.child"}, - Provider: "provider.aws", + Provider: "provider.aws", }, }, }, @@ -1342,7 +1342,7 @@ func testContext2Apply_destroyDependsOnStateOnly(t *testing.T) { Attributes: map[string]string{}, }, Dependencies: []string{"aws_instance.foo"}, - Provider: "provider.aws", + Provider: "provider.aws", }, }, }, @@ -1422,7 +1422,7 @@ func testContext2Apply_destroyDependsOnStateOnlyModule(t *testing.T) { Attributes: map[string]string{}, }, Dependencies: []string{"aws_instance.foo"}, - Provider: "provider.aws", + Provider: "provider.aws", }, }, }, @@ -8598,7 +8598,7 @@ func TestContext2Apply_issue7824(t *testing.T) { ResourceTypes: map[string]*configschema.Block{ "template_file": { Attributes: map[string]*configschema.Attribute{ - "template": {Type: cty.String, Optional: true}, + "template": {Type: cty.String, Optional: true}, "__template_requires_new": {Type: cty.Bool, Optional: true}, }, },