Skip to content

Commit

Permalink
remove setdifference as it is not implemented correct in underlying lib
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgoodhouse committed Nov 19, 2019
1 parent f838abd commit e01a37d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 57 deletions.
1 change: 0 additions & 1 deletion lang/functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ func (s *Scope) Functions() map[string]function.Function {
"replace": funcs.ReplaceFunc,
"reverse": funcs.ReverseFunc,
"rsadecrypt": funcs.RsaDecryptFunc,
"setdifference": stdlib.SetSymmetricDifferenceFunc,
"setintersection": stdlib.SetIntersectionFunc,
"setproduct": funcs.SetProductFunc,
"setsubtract": stdlib.SetSubtractFunc,
Expand Down
11 changes: 0 additions & 11 deletions lang/functions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -643,17 +643,6 @@ func TestFunctions(t *testing.T) {
},
},

"setdifference": {
{
`setdifference(["a", "b"], ["a", "c"], ["a", "d"])`,
cty.SetVal([]cty.Value{
cty.StringVal("b"),
cty.StringVal("c"),
cty.StringVal("d"),
}),
},
},

"setintersection": {
{
`setintersection(["a", "b"], ["b", "c"], ["b", "d"])`,
Expand Down
41 changes: 0 additions & 41 deletions website/docs/configuration/functions/setdifference.html.md

This file was deleted.

4 changes: 0 additions & 4 deletions website/layouts/functions.erb
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,6 @@
<a href="/docs/configuration/functions/reverse.html">reverse</a>
</li>

<li>
<a href="/docs/configuration/functions/setdifference.html">setdifference</a>
</li>

<li>
<a href="/docs/configuration/functions/setintersection.html">setintersection</a>
</li>
Expand Down

0 comments on commit e01a37d

Please sign in to comment.