diff --git a/graphql/context_operation_test.go b/graphql/context_operation_test.go index effb6c45e35..908e2db29b4 100644 --- a/graphql/context_operation_test.go +++ b/graphql/context_operation_test.go @@ -85,8 +85,8 @@ func TestCollectAllFields(t *testing.T) { TypeCondition: "ExampleTypeA", SelectionSet: ast.SelectionSet{ &ast.Field{ - Name: "fieldA", - ObjectDefinition: &ast.Definition{Name:"ExampleTypeA"}, + Name: "fieldA", + ObjectDefinition: &ast.Definition{Name: "ExampleTypeA"}, }, }, }, @@ -94,8 +94,8 @@ func TestCollectAllFields(t *testing.T) { TypeCondition: "ExampleTypeB", SelectionSet: ast.SelectionSet{ &ast.Field{ - Name: "fieldA", - ObjectDefinition: &ast.Definition{Name:"ExampleTypeB"}, + Name: "fieldA", + ObjectDefinition: &ast.Definition{Name: "ExampleTypeB"}, }, }, },