hcl/test-fixtures
Paul Hinze 2fb7c957a4
Remove BC escaped double quote behavior
When we switched to the current edition of the HCL parser, we
inadvertently broke some undocumented behavior where users could
successfully used escaped double quotes in a nested interpolation like
this:

    foo = "${somefunc(\"somearg\")}"

The proper syntax here is:

    foo = "${somefunc("somearg")}"

Because once you are inside the interpolation braces, the "quoting
context" is different.

At the time, while we didn't like the fact that the non-standard syntax
was in the wild, we didn't want to break BC, so we treated it as a bug
and fixed it in #62.

Now that we are at the moment of a major Terraform release, we can yank
the BC compatible behavior, which fixes a currently broken use case -
there is no way to express strings with double quotes in them from
inside interpolation braces.

    foo = "${somefunc("\"inquotes\"")}"

After merge and a dep upgrade, this will take care of
https://github.com/hashicorp/terraform/issues/5550
2016-06-16 12:43:37 -05:00
..
basic_int_string.hcl decode strings to ints 2014-09-30 22:29:21 -07:00
basic_squish.hcl hcl: identifiers can have '-' 2014-08-28 17:03:42 -07:00
basic.hcl hcl: support variable interpolations for compat with libucl 2014-08-21 14:38:45 -07:00
basic.json hcl: support variable interpolations for compat with libucl 2014-08-21 14:38:45 -07:00
decode_policy.hcl Fix consul test case 2014-08-08 15:16:42 -07:00
decode_policy.json decode JSON equally 2014-08-08 15:58:34 -07:00
decode_tf_variable.hcl Failing test 2014-08-11 14:19:35 -07:00
decode_tf_variable.json Failing test 2014-08-11 14:19:35 -07:00
empty.hcl Decode into proper arrays of things, add many test cases 2014-08-17 23:50:44 -07:00
escape.hcl Remove BC escaped double quote behavior 2016-06-16 12:43:37 -05:00
flat.hcl decoder can decode into structures 2014-08-03 14:06:18 -07:00
float.hcl parse floats 1.02 properly [GH-19] 2014-11-12 21:29:07 -08:00
float.json parse floats 1.02 properly [GH-19] 2014-11-12 21:29:07 -08:00
multiline_bad.hcl add more heredoc tests 2015-11-10 15:08:59 -08:00
multiline_indented.hcl Remove hanging indent on HEREDOCs with <<- prefix 2016-03-21 14:12:20 +00:00
multiline_no_eof.hcl add more heredoc tests 2015-11-10 15:08:59 -08:00
multiline_no_hanging_indent.hcl Remove hanging indent on HEREDOCs with <<- prefix 2016-03-21 14:12:20 +00:00
multiline_no_marker.hcl add more heredoc tests 2015-11-10 15:08:59 -08:00
multiline.hcl add more heredoc tests 2015-11-10 15:08:59 -08:00
multiline.json json: support \n 2014-08-21 14:42:02 -07:00
nested_block_comment.hcl hcl: don't allow nested comments 2015-06-23 21:34:40 -07:00
nested_provider_bad.hcl Return an error if object keys are not strings 2016-03-21 13:32:31 +00:00
object_list.json test for decoding structures within lists 2015-11-07 16:48:38 -08:00
scientific.hcl all: first stab to full scientific notation support 2014-08-22 10:34:03 +02:00
scientific.json all: first stab to full scientific notation support 2014-08-22 10:34:03 +02:00
slice_expand.hcl Test for GH-46 2015-11-09 20:02:20 -08:00
structure2.hcl structure2 test 2014-08-02 22:18:39 -07:00
structure2.json Decode into proper arrays of things, add many test cases 2014-08-17 23:50:44 -07:00
structure_flat.json Decoder expands exact objects into lists 2014-08-02 21:29:59 -07:00
structure_flatmap.hcl Decode into flat structures for objects 2014-08-03 13:09:08 -07:00
structure_list_deep.json Actually decode list of objects properly in JSON 2014-08-21 14:02:29 -07:00
structure_list.hcl Don't double-nest lists of objects 2014-08-21 13:32:31 -07:00
structure_list.json Don't double-nest lists of objects 2014-08-21 13:32:31 -07:00
structure_multi.hcl unix line endings 2014-08-02 22:05:36 -07:00
structure_multi.json Tests pass. 2014-08-11 20:58:20 -07:00
structure.hcl Passing tests 2014-08-02 20:40:41 -07:00
structure.json Add tests for equality in JSON and HCL 2014-08-02 20:48:36 -07:00
terraform_heroku.hcl Decode into proper arrays of things, add many test cases 2014-08-17 23:50:44 -07:00
terraform_heroku.json Decode into proper arrays of things, add many test cases 2014-08-17 23:50:44 -07:00
tfvars.hcl Fix scanning of identifiers of the form 'map.key' 2015-11-24 15:13:07 +02:00
unterminated_block_comment.hcl hcl: multi-line comments aren't allowed to terminate with EOF 2015-06-23 21:38:11 -07:00
unterminated_brace.hcl Parser enforces closing RBRACE [GH-88] 2016-02-10 10:31:11 -08:00