hcl/parser: add test case from TF issue

This commit is contained in:
Mitchell Hashimoto 2016-03-01 10:33:45 -08:00
parent 1c284ec98f
commit 71c7409f1a
2 changed files with 10 additions and 0 deletions

View File

@ -303,6 +303,10 @@ func TestParse(t *testing.T) {
"unterminated_object.hcl",
true,
},
{
"unterminated_object_2.hcl",
true,
},
}
const fixtureDir = "./test-fixtures"

View File

@ -0,0 +1,6 @@
resource "aws_eip" "EIP1" { a { a { a { a { a {
count = "1"
resource "aws_eip" "EIP2" {
count = "1"
}