Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jpogran committed Aug 2, 2023
1 parent 24a0dd4 commit 814e645
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions decoder/validate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,6 @@ wakka = 2
},
},


{
"too many blocks",
&schema.BodySchema{
Expand All @@ -284,8 +283,8 @@ wakka = 2
MaxItems: 1,
Body: &schema.BodySchema{
Blocks: map[string]*schema.BlockSchema{
"one":&schema.BlockSchema{},
"two":&schema.BlockSchema{},
"one": &schema.BlockSchema{},
"two": &schema.BlockSchema{},
},
Attributes: map[string]*schema.AttributeSchema{
"test": {
Expand Down Expand Up @@ -323,8 +322,8 @@ wakka = 2
MinItems: 2,
Body: &schema.BodySchema{
Blocks: map[string]*schema.BlockSchema{
"one":&schema.BlockSchema{},
"two":&schema.BlockSchema{},
"one": &schema.BlockSchema{},
"two": &schema.BlockSchema{},
},
Attributes: map[string]*schema.AttributeSchema{
"test": {
Expand Down

0 comments on commit 814e645

Please sign in to comment.