go fmt updates
This commit is contained in:
parent
7ace05a3be
commit
447c39ed03
@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -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{},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user