Merge pull request #53 from hashicorp/pt/edges_from_hcl1

Add additional comment test cases
This commit is contained in:
Paul Tyng 2018-11-06 18:06:04 -05:00 committed by GitHub
commit 9aa28a1a0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -304,6 +304,102 @@ zebra = "striped" # baz
𝒜 = 1 # foo 𝒜 = 1 # foo
bungle = "🇬🇧" # baz bungle = "🇬🇧" # baz
zebra = "striped" # baz zebra = "striped" # baz
`,
},
{
`
foo {
# ...
}
`,
`
foo {
# ...
}
`,
},
{
`
foo = {
# ...
}
`,
`
foo = {
# ...
}
`,
},
{
`
foo = [
# ...
]
`,
`
foo = [
# ...
]
`,
},
{
`
foo = [{
# ...
}]
`,
`
foo = [{
# ...
}]
`,
},
{
`
foo {
bar {
# ...
}
}
`,
`
foo {
bar {
# ...
}
}
`,
},
{
`
foo {
bar = {
# ...
}
}
`,
`
foo {
bar = {
# ...
}
}
`,
},
{
`
foo {
bar = [
# ...
]
}
`,
`
foo {
bar = [
# ...
]
}
`, `,
}, },
} }