Skip to content

Commit 61abb29

Browse files
committed
Fixed formatting issues in helper/schema/schema_test.go
1 parent 0b04412 commit 61abb29

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
@@ -6647,12 +6647,12 @@ func TestValidateAllOfAttributes(t *testing.T) {
66476647
"two attributes specified": {
66486648
Key: "whitelist",
66496649
Schema: map[string]*Schema{
6650-
"whitelist": &Schema{
6650+
"whitelist": {
66516651
Type: TypeBool,
66526652
Optional: true,
66536653
AllOf: []string{"blacklist"},
66546654
},
6655-
"blacklist": &Schema{
6655+
"blacklist": {
66566656
Type: TypeBool,
66576657
Optional: true,
66586658
AllOf: []string{"whitelist"},
@@ -6669,12 +6669,12 @@ func TestValidateAllOfAttributes(t *testing.T) {
66696669
"one attributes specified": {
66706670
Key: "whitelist",
66716671
Schema: map[string]*Schema{
6672-
"whitelist": &Schema{
6672+
"whitelist": {
66736673
Type: TypeBool,
66746674
Optional: true,
66756675
AllOf: []string{"blacklist"},
66766676
},
6677-
"blacklist": &Schema{
6677+
"blacklist": {
66786678
Type: TypeBool,
66796679
Optional: true,
66806680
AllOf: []string{"whitelist"},
@@ -6690,12 +6690,12 @@ func TestValidateAllOfAttributes(t *testing.T) {
66906690
"no attributes specified": {
66916691
Key: "whitelist",
66926692
Schema: map[string]*Schema{
6693-
"whitelist": &Schema{
6693+
"whitelist": {
66946694
Type: TypeBool,
66956695
Optional: true,
66966696
AllOf: []string{"blacklist"},
66976697
},
6698-
"blacklist": &Schema{
6698+
"blacklist": {
66996699
Type: TypeBool,
67006700
Optional: true,
67016701
AllOf: []string{"whitelist"},
@@ -6709,17 +6709,17 @@ func TestValidateAllOfAttributes(t *testing.T) {
67096709
"two attributes of three specified": {
67106710
Key: "whitelist",
67116711
Schema: map[string]*Schema{
6712-
"whitelist": &Schema{
6712+
"whitelist": {
67136713
Type: TypeBool,
67146714
Optional: true,
67156715
AllOf: []string{"purplelist"},
67166716
},
6717-
"blacklist": &Schema{
6717+
"blacklist": {
67186718
Type: TypeBool,
67196719
Optional: true,
67206720
AllOf: []string{"whitelist", "purplelist"},
67216721
},
6722-
"purplelist": &Schema{
6722+
"purplelist": {
67236723
Type: TypeBool,
67246724
Optional: true,
67256725
AllOf: []string{"whitelist"},
@@ -6736,17 +6736,17 @@ func TestValidateAllOfAttributes(t *testing.T) {
67366736
"three attributes of three specified": {
67376737
Key: "whitelist",
67386738
Schema: map[string]*Schema{
6739-
"whitelist": &Schema{
6739+
"whitelist": {
67406740
Type: TypeBool,
67416741
Optional: true,
67426742
AllOf: []string{"blacklist", "purplelist"},
67436743
},
6744-
"blacklist": &Schema{
6744+
"blacklist": {
67456745
Type: TypeBool,
67466746
Optional: true,
67476747
AllOf: []string{"whitelist", "purplelist"},
67486748
},
6749-
"purplelist": &Schema{
6749+
"purplelist": {
67506750
Type: TypeBool,
67516751
Optional: true,
67526752
AllOf: []string{"whitelist", "blacklist"},
@@ -6764,17 +6764,17 @@ func TestValidateAllOfAttributes(t *testing.T) {
67646764
"one attributes of three specified": {
67656765
Key: "whitelist",
67666766
Schema: map[string]*Schema{
6767-
"whitelist": &Schema{
6767+
"whitelist": {
67686768
Type: TypeBool,
67696769
Optional: true,
67706770
AllOf: []string{"blacklist", "purplelist"},
67716771
},
6772-
"blacklist": &Schema{
6772+
"blacklist": {
67736773
Type: TypeBool,
67746774
Optional: true,
67756775
AllOf: []string{"whitelist", "purplelist"},
67766776
},
6777-
"purplelist": &Schema{
6777+
"purplelist": {
67786778
Type: TypeBool,
67796779
Optional: true,
67806780
AllOf: []string{"whitelist", "blacklist"},
@@ -6790,17 +6790,17 @@ func TestValidateAllOfAttributes(t *testing.T) {
67906790
"no attributes of three specified": {
67916791
Key: "whitelist",
67926792
Schema: map[string]*Schema{
6793-
"whitelist": &Schema{
6793+
"whitelist": {
67946794
Type: TypeBool,
67956795
Optional: true,
67966796
AllOf: []string{"whitelist", "blacklist", "purplelist"},
67976797
},
6798-
"blacklist": &Schema{
6798+
"blacklist": {
67996799
Type: TypeBool,
68006800
Optional: true,
68016801
AllOf: []string{"whitelist", "blacklist", "purplelist"},
68026802
},
6803-
"purplelist": &Schema{
6803+
"purplelist": {
68046804
Type: TypeBool,
68056805
Optional: true,
68066806
AllOf: []string{"whitelist", "blacklist", "purplelist"},
@@ -6813,17 +6813,17 @@ func TestValidateAllOfAttributes(t *testing.T) {
68136813

68146814
"Only Unknown Variable Value": {
68156815
Schema: map[string]*Schema{
6816-
"whitelist": &Schema{
6816+
"whitelist": {
68176817
Type: TypeBool,
68186818
Optional: true,
68196819
AllOf: []string{"whitelist", "blacklist", "purplelist"},
68206820
},
6821-
"blacklist": &Schema{
6821+
"blacklist": {
68226822
Type: TypeBool,
68236823
Optional: true,
68246824
AllOf: []string{"whitelist", "blacklist", "purplelist"},
68256825
},
6826-
"purplelist": &Schema{
6826+
"purplelist": {
68276827
Type: TypeBool,
68286828
Optional: true,
68296829
AllOf: []string{"whitelist", "blacklist", "purplelist"},
@@ -6839,13 +6839,13 @@ func TestValidateAllOfAttributes(t *testing.T) {
68396839

68406840
"only unknown list value": {
68416841
Schema: map[string]*Schema{
6842-
"whitelist": &Schema{
6842+
"whitelist": {
68436843
Type: TypeList,
68446844
Optional: true,
68456845
Elem: &Schema{Type: TypeString},
68466846
AllOf: []string{"whitelist", "blacklist"},
68476847
},
6848-
"blacklist": &Schema{
6848+
"blacklist": {
68496849
Type: TypeList,
68506850
Optional: true,
68516851
Elem: &Schema{Type: TypeString},
@@ -6862,17 +6862,17 @@ func TestValidateAllOfAttributes(t *testing.T) {
68626862

68636863
"Unknown Variable Value and Known Value": {
68646864
Schema: map[string]*Schema{
6865-
"whitelist": &Schema{
6865+
"whitelist": {
68666866
Type: TypeBool,
68676867
Optional: true,
68686868
AllOf: []string{"whitelist", "blacklist", "purplelist"},
68696869
},
6870-
"blacklist": &Schema{
6870+
"blacklist": {
68716871
Type: TypeBool,
68726872
Optional: true,
68736873
AllOf: []string{"whitelist", "blacklist", "purplelist"},
68746874
},
6875-
"purplelist": &Schema{
6875+
"purplelist": {
68766876
Type: TypeBool,
68776877
Optional: true,
68786878
AllOf: []string{"whitelist", "blacklist", "purplelist"},

0 commit comments

Comments
 (0)