opentofu/lang
Alisdair McDiarmid c7568ccceb lang: Add test for jsonencode entity escaping
The encoding/json package escapes some HTML-specific characters to
prevent JSON from being misinterpreted when in the context of an HTML
document. Terraform 0.11 used this behaviour, and to preserve backwards
compatibility we are continuing to do so moving forward.

This commit adds an explicit test to document that this is intentional,
not a bug.
2020-09-04 09:18:52 -04:00
..
blocktoattr vendor: switch to HCL 2.0 in the HCL repository 2019-10-02 15:10:21 -07:00
funcs add test cases and remove no-longer-needed validation 2020-07-08 13:53:54 -04:00
testdata/functions-test lang/funcs: Update fileset() function to include path as separate first argument, automatically trim the path argument from results, and ensure results are always canonical with forward slash path separators 2019-08-30 20:19:44 -04:00
data_test.go eval Data needs to operate on whole modules 2020-04-12 10:50:31 -04:00
data.go remove GetModuleInstanceOutput 2020-04-14 14:49:10 -04:00
doc.go lang: new package for the runtime parts of the config language 2018-10-16 18:44:26 -07:00
eval_test.go eval Data needs to operate on whole modules 2020-04-12 10:50:31 -04:00
eval.go remove GetModuleInstanceOutput 2020-04-14 14:49:10 -04:00
functions_test.go lang: Add test for jsonencode entity escaping 2020-09-04 09:18:52 -04:00
functions.go Feature: Sum Function (#24666) 2020-04-15 14:27:06 -04:00
references.go vendor: switch to HCL 2.0 in the HCL repository 2019-10-02 15:10:21 -07:00
scope.go terraform: ugly huge change to weave in new HCL2-oriented types 2018-10-16 18:46:46 -07:00