hcl/printer: verify list element with one heredoc is formatted properly
This commit is contained in:
parent
39fa3a62ba
commit
8c0b1f045f
7
hcl/printer/testdata/list.golden
vendored
7
hcl/printer/testdata/list.golden
vendored
@ -36,3 +36,10 @@ two
|
||||
EOS
|
||||
,
|
||||
]
|
||||
|
||||
foo = [
|
||||
<<EOS
|
||||
one
|
||||
EOS
|
||||
,
|
||||
]
|
||||
|
6
hcl/printer/testdata/list.input
vendored
6
hcl/printer/testdata/list.input
vendored
@ -30,3 +30,9 @@ two
|
||||
EOS
|
||||
,
|
||||
]
|
||||
|
||||
foo = [
|
||||
<<EOS
|
||||
one
|
||||
EOS
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user