Skip to content

Commit 7bfc009

Browse files
committed
fmt
1 parent 43f40f0 commit 7bfc009

File tree

1 file changed

+24
-22
lines changed

1 file changed

+24
-22
lines changed

coderd/workspacebuilds_test.go

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -986,19 +986,20 @@ func TestMigrateLegacyToRichParameters(t *testing.T) {
986986
Parse: []*proto.Parse_Response{{
987987
Type: &proto.Parse_Response_Complete{
988988
Complete: &proto.Parse_Complete{
989-
ParameterSchemas: []*proto.ParameterSchema{{
990-
AllowOverrideSource: true,
991-
Name: "example",
992-
Description: "description 1",
993-
DefaultSource: &proto.ParameterSource{
994-
Scheme: proto.ParameterSource_DATA,
995-
Value: "tomato",
996-
},
997-
DefaultDestination: &proto.ParameterDestination{
998-
Scheme: proto.ParameterDestination_PROVISIONER_VARIABLE,
989+
ParameterSchemas: []*proto.ParameterSchema{
990+
{
991+
AllowOverrideSource: true,
992+
Name: "example",
993+
Description: "description 1",
994+
DefaultSource: &proto.ParameterSource{
995+
Scheme: proto.ParameterSource_DATA,
996+
Value: "tomato",
997+
},
998+
DefaultDestination: &proto.ParameterDestination{
999+
Scheme: proto.ParameterDestination_PROVISIONER_VARIABLE,
1000+
},
9991001
},
10001002
},
1001-
},
10021003
},
10031004
},
10041005
}},
@@ -1027,19 +1028,20 @@ func TestMigrateLegacyToRichParameters(t *testing.T) {
10271028
Parse: []*proto.Parse_Response{{
10281029
Type: &proto.Parse_Response_Complete{
10291030
Complete: &proto.Parse_Complete{
1030-
ParameterSchemas: []*proto.ParameterSchema{{
1031-
AllowOverrideSource: true,
1032-
Name: "example",
1033-
Description: "description 1",
1034-
DefaultSource: &proto.ParameterSource{
1035-
Scheme: proto.ParameterSource_DATA,
1036-
Value: "tomato",
1037-
},
1038-
DefaultDestination: &proto.ParameterDestination{
1039-
Scheme: proto.ParameterDestination_PROVISIONER_VARIABLE,
1031+
ParameterSchemas: []*proto.ParameterSchema{
1032+
{
1033+
AllowOverrideSource: true,
1034+
Name: "example",
1035+
Description: "description 1",
1036+
DefaultSource: &proto.ParameterSource{
1037+
Scheme: proto.ParameterSource_DATA,
1038+
Value: "tomato",
1039+
},
1040+
DefaultDestination: &proto.ParameterDestination{
1041+
Scheme: proto.ParameterDestination_PROVISIONER_VARIABLE,
1042+
},
10401043
},
10411044
},
1042-
},
10431045
},
10441046
},
10451047
}},

0 commit comments

Comments
 (0)