Skip to content

Commit d80ee95

Browse files
tmeckelappilon
authored andcommitted
Fixed formatting issues in helper/schema/schema_test.go
1 parent 5d9f674 commit d80ee95

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

helper/schema/schema_test.go

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6513,12 +6513,12 @@ func TestValidateAllOfAttributes(t *testing.T) {
65136513
"two attributes specified": {
65146514
Key: "whitelist",
65156515
Schema: map[string]*Schema{
6516-
"whitelist": &Schema{
6516+
"whitelist": {
65176517
Type: TypeBool,
65186518
Optional: true,
65196519
AllOf: []string{"blacklist"},
65206520
},
6521-
"blacklist": &Schema{
6521+
"blacklist": {
65226522
Type: TypeBool,
65236523
Optional: true,
65246524
AllOf: []string{"whitelist"},
@@ -6535,12 +6535,12 @@ func TestValidateAllOfAttributes(t *testing.T) {
65356535
"one attributes specified": {
65366536
Key: "whitelist",
65376537
Schema: map[string]*Schema{
6538-
"whitelist": &Schema{
6538+
"whitelist": {
65396539
Type: TypeBool,
65406540
Optional: true,
65416541
AllOf: []string{"blacklist"},
65426542
},
6543-
"blacklist": &Schema{
6543+
"blacklist": {
65446544
Type: TypeBool,
65456545
Optional: true,
65466546
AllOf: []string{"whitelist"},
@@ -6556,12 +6556,12 @@ func TestValidateAllOfAttributes(t *testing.T) {
65566556
"no attributes specified": {
65576557
Key: "whitelist",
65586558
Schema: map[string]*Schema{
6559-
"whitelist": &Schema{
6559+
"whitelist": {
65606560
Type: TypeBool,
65616561
Optional: true,
65626562
AllOf: []string{"blacklist"},
65636563
},
6564-
"blacklist": &Schema{
6564+
"blacklist": {
65656565
Type: TypeBool,
65666566
Optional: true,
65676567
AllOf: []string{"whitelist"},
@@ -6575,17 +6575,17 @@ func TestValidateAllOfAttributes(t *testing.T) {
65756575
"two attributes of three specified": {
65766576
Key: "whitelist",
65776577
Schema: map[string]*Schema{
6578-
"whitelist": &Schema{
6578+
"whitelist": {
65796579
Type: TypeBool,
65806580
Optional: true,
65816581
AllOf: []string{"purplelist"},
65826582
},
6583-
"blacklist": &Schema{
6583+
"blacklist": {
65846584
Type: TypeBool,
65856585
Optional: true,
65866586
AllOf: []string{"whitelist", "purplelist"},
65876587
},
6588-
"purplelist": &Schema{
6588+
"purplelist": {
65896589
Type: TypeBool,
65906590
Optional: true,
65916591
AllOf: []string{"whitelist"},
@@ -6602,17 +6602,17 @@ func TestValidateAllOfAttributes(t *testing.T) {
66026602
"three attributes of three specified": {
66036603
Key: "whitelist",
66046604
Schema: map[string]*Schema{
6605-
"whitelist": &Schema{
6605+
"whitelist": {
66066606
Type: TypeBool,
66076607
Optional: true,
66086608
AllOf: []string{"blacklist", "purplelist"},
66096609
},
6610-
"blacklist": &Schema{
6610+
"blacklist": {
66116611
Type: TypeBool,
66126612
Optional: true,
66136613
AllOf: []string{"whitelist", "purplelist"},
66146614
},
6615-
"purplelist": &Schema{
6615+
"purplelist": {
66166616
Type: TypeBool,
66176617
Optional: true,
66186618
AllOf: []string{"whitelist", "blacklist"},
@@ -6630,17 +6630,17 @@ func TestValidateAllOfAttributes(t *testing.T) {
66306630
"one attributes of three specified": {
66316631
Key: "whitelist",
66326632
Schema: map[string]*Schema{
6633-
"whitelist": &Schema{
6633+
"whitelist": {
66346634
Type: TypeBool,
66356635
Optional: true,
66366636
AllOf: []string{"blacklist", "purplelist"},
66376637
},
6638-
"blacklist": &Schema{
6638+
"blacklist": {
66396639
Type: TypeBool,
66406640
Optional: true,
66416641
AllOf: []string{"whitelist", "purplelist"},
66426642
},
6643-
"purplelist": &Schema{
6643+
"purplelist": {
66446644
Type: TypeBool,
66456645
Optional: true,
66466646
AllOf: []string{"whitelist", "blacklist"},
@@ -6656,17 +6656,17 @@ func TestValidateAllOfAttributes(t *testing.T) {
66566656
"no attributes of three specified": {
66576657
Key: "whitelist",
66586658
Schema: map[string]*Schema{
6659-
"whitelist": &Schema{
6659+
"whitelist": {
66606660
Type: TypeBool,
66616661
Optional: true,
66626662
AllOf: []string{"whitelist", "blacklist", "purplelist"},
66636663
},
6664-
"blacklist": &Schema{
6664+
"blacklist": {
66656665
Type: TypeBool,
66666666
Optional: true,
66676667
AllOf: []string{"whitelist", "blacklist", "purplelist"},
66686668
},
6669-
"purplelist": &Schema{
6669+
"purplelist": {
66706670
Type: TypeBool,
66716671
Optional: true,
66726672
AllOf: []string{"whitelist", "blacklist", "purplelist"},
@@ -6679,17 +6679,17 @@ func TestValidateAllOfAttributes(t *testing.T) {
66796679

66806680
"Only Unknown Variable Value": {
66816681
Schema: map[string]*Schema{
6682-
"whitelist": &Schema{
6682+
"whitelist": {
66836683
Type: TypeBool,
66846684
Optional: true,
66856685
AllOf: []string{"whitelist", "blacklist", "purplelist"},
66866686
},
6687-
"blacklist": &Schema{
6687+
"blacklist": {
66886688
Type: TypeBool,
66896689
Optional: true,
66906690
AllOf: []string{"whitelist", "blacklist", "purplelist"},
66916691
},
6692-
"purplelist": &Schema{
6692+
"purplelist": {
66936693
Type: TypeBool,
66946694
Optional: true,
66956695
AllOf: []string{"whitelist", "blacklist", "purplelist"},
@@ -6705,13 +6705,13 @@ func TestValidateAllOfAttributes(t *testing.T) {
67056705

67066706
"only unknown list value": {
67076707
Schema: map[string]*Schema{
6708-
"whitelist": &Schema{
6708+
"whitelist": {
67096709
Type: TypeList,
67106710
Optional: true,
67116711
Elem: &Schema{Type: TypeString},
67126712
AllOf: []string{"whitelist", "blacklist"},
67136713
},
6714-
"blacklist": &Schema{
6714+
"blacklist": {
67156715
Type: TypeList,
67166716
Optional: true,
67176717
Elem: &Schema{Type: TypeString},
@@ -6728,17 +6728,17 @@ func TestValidateAllOfAttributes(t *testing.T) {
67286728

67296729
"Unknown Variable Value and Known Value": {
67306730
Schema: map[string]*Schema{
6731-
"whitelist": &Schema{
6731+
"whitelist": {
67326732
Type: TypeBool,
67336733
Optional: true,
67346734
AllOf: []string{"whitelist", "blacklist", "purplelist"},
67356735
},
6736-
"blacklist": &Schema{
6736+
"blacklist": {
67376737
Type: TypeBool,
67386738
Optional: true,
67396739
AllOf: []string{"whitelist", "blacklist", "purplelist"},
67406740
},
6741-
"purplelist": &Schema{
6741+
"purplelist": {
67426742
Type: TypeBool,
67436743
Optional: true,
67446744
AllOf: []string{"whitelist", "blacklist", "purplelist"},

0 commit comments

Comments
 (0)