Skip to content

Commit

Permalink
fix array
Browse files Browse the repository at this point in the history
  • Loading branch information
smokedlinq committed Feb 27, 2025
1 parent f8737de commit cd79204
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/services/functions/unique_string_function_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@ func Test_UniqueStringFunction(t *testing.T) {
request: function.RunRequest{
Arguments: function.NewArgumentsData([]attr.Value{
types.ListValueMust(types.StringType, []attr.Value{
types.StringValue("fu")
types.StringValue("fu"),
}),
}),
},
expected: function.RunResponse{
Result: function.NewResultData(types.StringValue("6rkxbspxjmsho")),
},
},
},
"unique-string-fubar": {
request: function.RunRequest{
Arguments: function.NewArgumentsData([]attr.Value{
types.ListValueMust(types.StringType, []attr.Value{
types.StringValue("fubar")
types.StringValue("fubar"),
}),
}),
},
Expand All @@ -58,7 +58,7 @@ func Test_UniqueStringFunction(t *testing.T) {
Arguments: function.NewArgumentsData([]attr.Value{
types.ListValueMust(types.StringType, []attr.Value{
types.StringValue("fu"),
types.StringValue("bar")
types.StringValue("bar"),
}),
}),
},
Expand Down

0 comments on commit cd79204

Please sign in to comment.