diff options
Diffstat (limited to 'vendor/github.com/hashicorp/hcl/test-fixtures')
55 files changed, 311 insertions, 0 deletions
diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/assign_deep.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/assign_deep.hcl new file mode 100644 index 000000000..dd3151cb7 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/assign_deep.hcl @@ -0,0 +1,5 @@ +resource = [{
+ foo = [{
+ bar = {}
+ }]
+}]
diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/basic.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/basic.hcl new file mode 100644 index 000000000..949994487 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/basic.hcl @@ -0,0 +1,2 @@ +foo = "bar"
+bar = "${file("bing/bong.txt")}"
diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/basic.json b/vendor/github.com/hashicorp/hcl/test-fixtures/basic.json new file mode 100644 index 000000000..7bdddc84b --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/basic.json @@ -0,0 +1,4 @@ +{
+ "foo": "bar",
+ "bar": "${file(\"bing/bong.txt\")}"
+}
diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/basic_int_string.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/basic_int_string.hcl new file mode 100644 index 000000000..4e415da20 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/basic_int_string.hcl @@ -0,0 +1 @@ +count = "3" diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/basic_squish.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/basic_squish.hcl new file mode 100644 index 000000000..363697b49 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/basic_squish.hcl @@ -0,0 +1,3 @@ +foo="bar" +bar="${file("bing/bong.txt")}" +foo-bar="baz" diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/block_assign.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/block_assign.hcl new file mode 100644 index 000000000..ee8b06fe3 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/block_assign.hcl @@ -0,0 +1,2 @@ +environment = "aws" { +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/decode_policy.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/decode_policy.hcl new file mode 100644 index 000000000..5b185cc91 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/decode_policy.hcl @@ -0,0 +1,15 @@ +key "" { + policy = "read" +} + +key "foo/" { + policy = "write" +} + +key "foo/bar/" { + policy = "read" +} + +key "foo/bar/baz" { + policy = "deny" +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/decode_policy.json b/vendor/github.com/hashicorp/hcl/test-fixtures/decode_policy.json new file mode 100644 index 000000000..151864ee8 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/decode_policy.json @@ -0,0 +1,19 @@ +{ + "key": { + "": { + "policy": "read" + }, + + "foo/": { + "policy": "write" + }, + + "foo/bar/": { + "policy": "read" + }, + + "foo/bar/baz": { + "policy": "deny" + } + } +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/decode_tf_variable.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/decode_tf_variable.hcl new file mode 100644 index 000000000..52dcaa1bc --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/decode_tf_variable.hcl @@ -0,0 +1,10 @@ +variable "foo" { + default = "bar" + description = "bar" +} + +variable "amis" { + default = { + east = "foo" + } +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/decode_tf_variable.json b/vendor/github.com/hashicorp/hcl/test-fixtures/decode_tf_variable.json new file mode 100644 index 000000000..49f921ed0 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/decode_tf_variable.json @@ -0,0 +1,14 @@ +{ + "variable": { + "foo": { + "default": "bar", + "description": "bar" + }, + + "amis": { + "default": { + "east": "foo" + } + } + } +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/empty.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/empty.hcl new file mode 100644 index 000000000..5be1b2315 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/empty.hcl @@ -0,0 +1 @@ +resource "foo" {} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/escape.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/escape.hcl new file mode 100644 index 000000000..f818b15e0 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/escape.hcl @@ -0,0 +1,6 @@ +foo = "bar\"baz\\n" +bar = "new\nline" +qux = "back\\slash" +qax = "slash\\:colon" +nested = "${HH\\:mm\\:ss}" +nestedquotes = "${"\"stringwrappedinquotes\""}" diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/escape_backslash.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/escape_backslash.hcl new file mode 100644 index 000000000..bc337fb7c --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/escape_backslash.hcl @@ -0,0 +1,5 @@ +output { + one = "${replace(var.sub_domain, ".", "\\.")}" + two = "${replace(var.sub_domain, ".", "\\\\.")}" + many = "${replace(var.sub_domain, ".", "\\\\\\\\.")}" +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/flat.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/flat.hcl new file mode 100644 index 000000000..9bca551f8 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/flat.hcl @@ -0,0 +1,2 @@ +foo = "bar"
+Key = 7
diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/float.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/float.hcl new file mode 100644 index 000000000..eed44e542 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/float.hcl @@ -0,0 +1 @@ +a = 1.02 diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/float.json b/vendor/github.com/hashicorp/hcl/test-fixtures/float.json new file mode 100644 index 000000000..a9d1ab4b0 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/float.json @@ -0,0 +1,3 @@ +{ + "a": 1.02 +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/git_crypt.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/git_crypt.hcl Binary files differnew file mode 100644 index 000000000..f691948e1 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/git_crypt.hcl diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/interpolate.json b/vendor/github.com/hashicorp/hcl/test-fixtures/interpolate.json new file mode 100644 index 000000000..cad015198 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/interpolate.json @@ -0,0 +1,3 @@ +{ + "default": "${replace(\"europe-west\", \"-\", \" \")}" +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/list_of_lists.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/list_of_lists.hcl new file mode 100644 index 000000000..8af345849 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/list_of_lists.hcl @@ -0,0 +1,2 @@ +foo = [["foo"], ["bar"]] + diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/list_of_maps.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/list_of_maps.hcl new file mode 100644 index 000000000..985a33bae --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/list_of_maps.hcl @@ -0,0 +1,4 @@ +foo = [ + {somekey1 = "someval1"}, + {somekey2 = "someval2", someextrakey = "someextraval"}, +] diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/multiline.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/multiline.hcl new file mode 100644 index 000000000..f883bd707 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/multiline.hcl @@ -0,0 +1,4 @@ +foo = <<EOF +bar +baz +EOF diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/multiline.json b/vendor/github.com/hashicorp/hcl/test-fixtures/multiline.json new file mode 100644 index 000000000..93f7cc55c --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/multiline.json @@ -0,0 +1,3 @@ +{ + "foo": "bar\nbaz" +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/multiline_bad.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/multiline_bad.hcl new file mode 100644 index 000000000..4cd0f4dd7 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/multiline_bad.hcl @@ -0,0 +1,4 @@ +foo = <EOF +bar +baz +EOF diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/multiline_indented.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/multiline_indented.hcl new file mode 100644 index 000000000..f1d7a843d --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/multiline_indented.hcl @@ -0,0 +1,4 @@ +foo = <<-EOF + bar + baz + EOF diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/multiline_literal.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/multiline_literal.hcl new file mode 100644 index 000000000..f89fdfc71 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/multiline_literal.hcl @@ -0,0 +1,2 @@ +multiline_literal = "hello + world"
\ No newline at end of file diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/multiline_literal_with_hil.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/multiline_literal_with_hil.hcl new file mode 100644 index 000000000..b55a361ca --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/multiline_literal_with_hil.hcl @@ -0,0 +1,2 @@ +multiline_literal_with_hil = "${hello + world}"
\ No newline at end of file diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/multiline_no_eof.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/multiline_no_eof.hcl new file mode 100644 index 000000000..faa13290b --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/multiline_no_eof.hcl @@ -0,0 +1,5 @@ +foo = <<EOF +bar +baz +EOF +key = "value" diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/multiline_no_hanging_indent.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/multiline_no_hanging_indent.hcl new file mode 100644 index 000000000..c4331eeae --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/multiline_no_hanging_indent.hcl @@ -0,0 +1,5 @@ +foo = <<-EOF + baz + bar + foo + EOF diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/multiline_no_marker.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/multiline_no_marker.hcl new file mode 100644 index 000000000..55c173966 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/multiline_no_marker.hcl @@ -0,0 +1 @@ +foo = << diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/nested_block_comment.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/nested_block_comment.hcl new file mode 100644 index 000000000..e827782fe --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/nested_block_comment.hcl @@ -0,0 +1,5 @@ +/* +foo = "bar/*" +*/ + +bar = "value" diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/nested_provider_bad.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/nested_provider_bad.hcl new file mode 100644 index 000000000..94a753a5a --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/nested_provider_bad.hcl @@ -0,0 +1,5 @@ +resource "aws" "web" { + provider = "aws" { + region = "us-west-2" + } +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/null_strings.json b/vendor/github.com/hashicorp/hcl/test-fixtures/null_strings.json new file mode 100644 index 000000000..a5b8a5af2 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/null_strings.json @@ -0,0 +1,7 @@ +{ + "module": { + "app": { + "foo": null + } + } +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/object_list.json b/vendor/github.com/hashicorp/hcl/test-fixtures/object_list.json new file mode 100644 index 000000000..73f367438 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/object_list.json @@ -0,0 +1,15 @@ +{ + "resource": { + "aws_instance": { + "db": { + "vpc": "foo", + "provisioner": [{ + "file": { + "source": "foo", + "destination": "bar" + } + }] + } + } + } +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/object_with_bool.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/object_with_bool.hcl new file mode 100644 index 000000000..e565fb477 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/object_with_bool.hcl @@ -0,0 +1,6 @@ +path { + policy = "write" + permissions = { + "bool" = [false] + } +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/scientific.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/scientific.hcl new file mode 100644 index 000000000..b9eca28dd --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/scientific.hcl @@ -0,0 +1,6 @@ +a = 1e-10 +b = 1e+10 +c = 1e10 +d = 1.2e-10 +e = 1.2e+10 +f = 1.2e10 diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/scientific.json b/vendor/github.com/hashicorp/hcl/test-fixtures/scientific.json new file mode 100644 index 000000000..c1fce3c9d --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/scientific.json @@ -0,0 +1,8 @@ +{ + "a": 1e-10, + "b": 1e+10, + "c": 1e10, + "d": 1.2e-10, + "e": 1.2e+10, + "f": 1.2e10 +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/slice_expand.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/slice_expand.hcl new file mode 100644 index 000000000..4d3725fc1 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/slice_expand.hcl @@ -0,0 +1,7 @@ +service "my-service-0" { + key = "value" +} + +service "my-service-1" { + key = "value" +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/structure.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/structure.hcl new file mode 100644 index 000000000..18b6b1e9f --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/structure.hcl @@ -0,0 +1,5 @@ +// This is a test structure for the lexer +foo "baz" { + key = 7 + foo = "bar" +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/structure.json b/vendor/github.com/hashicorp/hcl/test-fixtures/structure.json new file mode 100644 index 000000000..30aa7654e --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/structure.json @@ -0,0 +1,8 @@ +{
+ "foo": [{
+ "baz": [{
+ "key": 7,
+ "foo": "bar"
+ }]
+ }]
+}
diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/structure2.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/structure2.hcl new file mode 100644 index 000000000..7577ffc0e --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/structure2.hcl @@ -0,0 +1,9 @@ +// This is a test structure for the lexer
+foo "baz" {
+ key = 7
+ foo = "bar"
+}
+
+foo {
+ key = 7
+}
diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/structure2.json b/vendor/github.com/hashicorp/hcl/test-fixtures/structure2.json new file mode 100644 index 000000000..c51fcf544 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/structure2.json @@ -0,0 +1,10 @@ +{
+ "foo": [{
+ "baz": {
+ "key": 7,
+ "foo": "bar"
+ }
+ }, {
+ "key": 7
+ }]
+}
diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/structure_flat.json b/vendor/github.com/hashicorp/hcl/test-fixtures/structure_flat.json new file mode 100644 index 000000000..5256db475 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/structure_flat.json @@ -0,0 +1,8 @@ +{
+ "foo": {
+ "baz": {
+ "key": 7,
+ "foo": "bar"
+ }
+ }
+}
diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/structure_flatmap.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/structure_flatmap.hcl new file mode 100644 index 000000000..fcf689e19 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/structure_flatmap.hcl @@ -0,0 +1,7 @@ +foo {
+ key = 7
+}
+
+foo {
+ foo = "bar"
+}
diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/structure_list.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/structure_list.hcl new file mode 100644 index 000000000..33193ae53 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/structure_list.hcl @@ -0,0 +1,6 @@ +foo { + key = 7 +} +foo { + key = 12 +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/structure_list.json b/vendor/github.com/hashicorp/hcl/test-fixtures/structure_list.json new file mode 100644 index 000000000..806a60e3e --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/structure_list.json @@ -0,0 +1,7 @@ +{ + "foo": [{ + "key": 7 + }, { + "key": 12 + }] +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/structure_list_deep.json b/vendor/github.com/hashicorp/hcl/test-fixtures/structure_list_deep.json new file mode 100644 index 000000000..46e98bef3 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/structure_list_deep.json @@ -0,0 +1,16 @@ +{ + "bar": { + "foo": { + "name": "terraform_example", + "ingress": [ + { + "from_port": 22 + }, + { + "from_port": 80 + } + ] + } + } +} + diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/structure_list_empty.json b/vendor/github.com/hashicorp/hcl/test-fixtures/structure_list_empty.json new file mode 100644 index 000000000..d99606fb1 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/structure_list_empty.json @@ -0,0 +1,3 @@ +{ + "foo": [] +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/structure_multi.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/structure_multi.hcl new file mode 100644 index 000000000..e45b23d52 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/structure_multi.hcl @@ -0,0 +1,7 @@ +foo "baz" { + key = 7 +} + +foo "bar" { + key = 12 +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/structure_multi.json b/vendor/github.com/hashicorp/hcl/test-fixtures/structure_multi.json new file mode 100644 index 000000000..773761aca --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/structure_multi.json @@ -0,0 +1,11 @@ +{ + "foo": { + "baz": { + "key": 7 + }, + + "bar": { + "key": 12 + } + } +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/terraform_heroku.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/terraform_heroku.hcl new file mode 100644 index 000000000..fda9241a4 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/terraform_heroku.hcl @@ -0,0 +1,5 @@ +name = "terraform-test-app" + +config_vars { + FOO = "bar" +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/terraform_heroku.json b/vendor/github.com/hashicorp/hcl/test-fixtures/terraform_heroku.json new file mode 100644 index 000000000..e8c6fac3d --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/terraform_heroku.json @@ -0,0 +1,6 @@ +{ + "name": "terraform-test-app", + "config_vars": { + "FOO": "bar" + } +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/terraform_variable_invalid.json b/vendor/github.com/hashicorp/hcl/test-fixtures/terraform_variable_invalid.json new file mode 100644 index 000000000..081247ea4 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/terraform_variable_invalid.json @@ -0,0 +1,5 @@ +{ + "variable": { + "whatever": "abc123" + } +} diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/tfvars.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/tfvars.hcl new file mode 100644 index 000000000..5f623e04d --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/tfvars.hcl @@ -0,0 +1,3 @@ +regularvar = "Should work" +map.key1 = "Value" +map.key2 = "Other value" diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/unterminated_block_comment.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/unterminated_block_comment.hcl new file mode 100644 index 000000000..c0ce34d04 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/unterminated_block_comment.hcl @@ -0,0 +1,2 @@ +/* +Foo diff --git a/vendor/github.com/hashicorp/hcl/test-fixtures/unterminated_brace.hcl b/vendor/github.com/hashicorp/hcl/test-fixtures/unterminated_brace.hcl new file mode 100644 index 000000000..31b37c4f9 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl/test-fixtures/unterminated_brace.hcl @@ -0,0 +1,2 @@ +foo "baz" { + bar = "baz" |