Skip to content

Commit

Permalink
also fix tests broken from go-cty update
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcervante committed Mar 9, 2023
1 parent daedf0b commit ce6f782
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/lang/funcs/collection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ func TestLength(t *testing.T) {
cty.NumberIntVal(1),
},
{
cty.UnknownVal(cty.List(cty.Bool)),
cty.UnknownVal(cty.Number),
cty.UnknownVal(cty.List(cty.Bool)), // here
cty.UnknownVal(cty.Number).Refine().NotNull().NumberRangeInclusive(cty.NumberIntVal(0), cty.NumberIntVal(math.MaxInt64)).NewValue(),
},
{
cty.DynamicVal,
Expand Down Expand Up @@ -117,7 +117,7 @@ func TestLength(t *testing.T) {
},
{
cty.UnknownVal(cty.String),
cty.UnknownVal(cty.Number),
cty.UnknownVal(cty.Number).Refine().NotNull().NumberRangeLowerBound(cty.NumberIntVal(0), true).NewValue(),
},
{
cty.DynamicVal,
Expand Down

0 comments on commit ce6f782

Please sign in to comment.