Skip to content

Commit d26643a

Browse files
committed
fmt
1 parent 1b972ed commit d26643a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

internal/fwserver/server_getproviderschema_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,14 @@ func TestServerGetProviderSchema(t *testing.T) {
100100
request: &fwserver.GetProviderSchemaRequest{},
101101
expectedResponse: &fwserver.GetProviderSchemaResponse{
102102
ActionSchemas: map[string]actionschema.Schema{
103-
"test_action1": actionschema.Schema{
103+
"test_action1": {
104104
Attributes: map[string]actionschema.Attribute{
105105
"test1": actionschema.StringAttribute{
106106
Required: true,
107107
},
108108
},
109109
},
110-
"test_action2": actionschema.Schema{
110+
"test_action2": {
111111
Attributes: map[string]actionschema.Attribute{
112112
"test2": actionschema.StringAttribute{
113113
Required: true,
@@ -333,7 +333,7 @@ func TestServerGetProviderSchema(t *testing.T) {
333333
request: &fwserver.GetProviderSchemaRequest{},
334334
expectedResponse: &fwserver.GetProviderSchemaResponse{
335335
ActionSchemas: map[string]actionschema.Schema{
336-
"testprovidertype_action": actionschema.Schema{
336+
"testprovidertype_action": {
337337
Attributes: map[string]actionschema.Attribute{
338338
"test": actionschema.StringAttribute{
339339
Required: true,

internal/toproto5/getproviderschema_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func TestGetProviderSchemaResponse(t *testing.T) {
101101
"action-type-invalid-proto-6-nested-attributes": {
102102
input: &fwserver.GetProviderSchemaResponse{
103103
ActionSchemas: map[string]actionschema.Schema{
104-
"test_action": actionschema.Schema{
104+
"test_action": {
105105
Attributes: map[string]actionschema.Attribute{
106106
"test_attribute": actionschema.SingleNestedAttribute{
107107
Attributes: map[string]actionschema.Attribute{

internal/toproto6/getproviderschema_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func TestGetProviderSchemaResponse(t *testing.T) {
101101
"action-type-nested-attributes": {
102102
input: &fwserver.GetProviderSchemaResponse{
103103
ActionSchemas: map[string]actionschema.Schema{
104-
"test_action": actionschema.Schema{
104+
"test_action": {
105105
Attributes: map[string]actionschema.Attribute{
106106
"test_attribute": actionschema.SingleNestedAttribute{
107107
Attributes: map[string]actionschema.Attribute{

0 commit comments

Comments
 (0)