go fmt updates

This commit is contained in:
Martin Atkins 2018-12-11 16:49:03 -08:00
parent 7ace05a3be
commit 447c39ed03
2 changed files with 4 additions and 4 deletions

View File

@ -5,8 +5,8 @@ import (
"reflect" "reflect"
"github.com/hashicorp/hcl2/hcltest"
"github.com/hashicorp/hcl2/hcl" "github.com/hashicorp/hcl2/hcl"
"github.com/hashicorp/hcl2/hcltest"
"github.com/zclconf/go-cty/cty" "github.com/zclconf/go-cty/cty"
) )

View File

@ -508,11 +508,11 @@ func TestMergeBodiesPartialContent(t *testing.T) {
Attributes: map[string]*Attribute{}, Attributes: map[string]*Attribute{},
Blocks: Blocks{ Blocks: Blocks{
{ {
Type: "pizza", Type: "pizza",
DefRange: Range{Filename: "first"}, DefRange: Range{Filename: "first"},
}, },
{ {
Type: "pizza", Type: "pizza",
DefRange: Range{Filename: "second"}, DefRange: Range{Filename: "second"},
}, },
}, },
@ -572,7 +572,7 @@ func (v *testMergedBodiesVictim) Content(schema *BodySchema) (*BodyContent, Diag
func (v *testMergedBodiesVictim) PartialContent(schema *BodySchema) (*BodyContent, Body, Diagnostics) { func (v *testMergedBodiesVictim) PartialContent(schema *BodySchema) (*BodyContent, Body, Diagnostics) {
remain := &testMergedBodiesVictim{ remain := &testMergedBodiesVictim{
Name: v.Name, Name: v.Name,
HasAttributes: []string{}, HasAttributes: []string{},
} }