diff --git a/decoder_test.go b/decoder_test.go index ef39f6b..39ea046 100644 --- a/decoder_test.go +++ b/decoder_test.go @@ -350,6 +350,12 @@ func TestDecode_interface(t *testing.T) { "default": `${replace("europe-west", "-", " ")}`, }, }, + + { + "block_assign.hcl", + true, + nil, + }, } for _, tc := range cases { diff --git a/test-fixtures/block_assign.hcl b/test-fixtures/block_assign.hcl new file mode 100644 index 0000000..ee8b06f --- /dev/null +++ b/test-fixtures/block_assign.hcl @@ -0,0 +1,2 @@ +environment = "aws" { +}