hcl/parser: add test case from TF issue
This commit is contained in:
parent
1c284ec98f
commit
71c7409f1a
@ -303,6 +303,10 @@ func TestParse(t *testing.T) {
|
||||
"unterminated_object.hcl",
|
||||
true,
|
||||
},
|
||||
{
|
||||
"unterminated_object_2.hcl",
|
||||
true,
|
||||
},
|
||||
}
|
||||
|
||||
const fixtureDir = "./test-fixtures"
|
||||
|
6
hcl/parser/test-fixtures/unterminated_object_2.hcl
Normal file
6
hcl/parser/test-fixtures/unterminated_object_2.hcl
Normal file
@ -0,0 +1,6 @@
|
||||
resource "aws_eip" "EIP1" { a { a { a { a { a {
|
||||
count = "1"
|
||||
|
||||
resource "aws_eip" "EIP2" {
|
||||
count = "1"
|
||||
}
|
Loading…
Reference in New Issue
Block a user